Skip to main content
See also: Columns | Column Groups | Styles
Powersheet document with a 'Change view' switcher in the top toolbar, demonstrating how users toggle between preconfigured column layouts (e.g. 'Whole RTM Sheet' showing User Need, Design Input, and Design Output columns)

Views Structure

diagram
The base view is defined by the columns section. Each entry in views extends the base view by overriding column visibility. The views selector UI presents all configured views to the user.

View Properties

Each view is defined as a keyed entry under the views map. The key becomes the display name shown in the views selector.
In the property table below, <ViewName> is a placeholder for the actual YAML map key you define, such as Without V&V, Compact, or Requirements Only. This key is the user-visible label in the views selector dropdown.

Defining Views

Views are defined in the top-level views section of the sheet configuration. Each key in the views map becomes a selectable view in the UI:
In this example, the “Without V&V” view hides validation and verification test case columns while keeping all other columns at their default visibility.
Views only need to list columns that differ from the base state. Columns not mentioned in a view retain their visible setting from the columns section. This means most views are short — you only specify what you want to hide (or show, if hidden by default).

Base View

The base view is the column layout defined by the top-level columns section in the sheet configuration. It represents the complete set of columns at their configured visible state. The base view serves as the foundation that all named views extend. The base view can be given a custom name by defining an empty view entry:
In this example, the base view is labelled “Full RTM” in the selector, with an empty columns override meaning no visibility changes from the base.

Default View

One view can be designated as the default view by setting default: true. When configured, this view is applied automatically when the document loads, instead of the base view:
Only one view should have default: true. If multiple views set default: true, the behavior is undefined and may vary. When a default view is set, the base view option may be hidden from the views menu.

View Selection Methods

Users can switch between views at runtime through two mechanisms: Both methods present the same list of available views. The currently active view is visually indicated in both the menu and the dropdown.
Animated demonstration of switching between named views in a Powersheet document, with the dropdown selector applying different column visibility presets to the sheet

View-Specific Column Visibility

Each view independently controls which columns are visible. Views can hide entire entity-level columns (hiding all related child data) or selectively hide individual property columns:
How column binding paths work in views: The columns keys in a view must match the binding paths defined in the top-level columns section. A binding path follows the navigationProperty.childProperty.propertyName pattern from the data model. For details on binding path syntax, see Binding Syntax.

Cross-Document View Linking

Views can reference alternative documents with the same name, enabling switching between different tool representations of related data. When configured, the views selector dropdown shows both view names and linked document names, allowing users to navigate between different perspectives.
Cross-document view linking depends on the alternativeViewDocument property on the document configuration. The views selector displays both in-document views and alternative document links in the same dropdown.

Error Handling

Views handle configuration errors gracefully:
Start with a minimal view configuration and extend gradually. A view with a single column override is valid and useful for quickly creating focused perspectives.

Runtime Behavior

The following details describe how views behave at runtime:
  • View switching is instant. Changing views only toggles column visibility; it does not re-fetch data from the server.
  • Data remains loaded. Hidden columns still have their data loaded in memory. Showing them again via a different view is instantaneous.
  • Views do not affect sorting or filtering. Column sort state and filter state are independent of the active view. Sorting by a hidden column still applies.
  • Views persist during the session. The selected view remains active until the user switches to another view or reloads the document.
  • Configuration is read-only at runtime. Users cannot create or edit views from the UI; views must be defined in the YAML configuration by an administrator.

Complete YAML Example

The following example demonstrates a full sheet configuration with multiple views for an RTM (Requirements Traceability Matrix) use case using the standard entity hierarchy (UserNeed -> SystemRequirement -> DesignRequirement -> Hazard -> RiskControl):
In this configuration:
  • The base view shows all eight columns including system requirements, design outputs, and both test types.
  • Without V&V hides both test columns, focusing on requirements and design.
  • Requirements Only hides design outputs and both test types, showing only user needs and system requirements.
  • Compact is the default view (default: true), loading automatically. It shows only user need columns and system requirement titles, hiding severity details, design outputs, and all tests.

Configuration Tips

Use descriptive view names that communicate the analysis perspective: “Without V&V”, “Requirements Only”, “Risk Analysis”, “Compliance Review”. The view name appears directly in the dropdown selector.
Views work with column groups. Hiding all columns in a group effectively hides the entire group header. Consider defining views that align with your column group boundaries for clean visual results.
View column keys must exactly match the binding paths in the columns section. A typo in the binding path (e.g., systemRequirement.title instead of systemRequirements.systemRequirement.title) will be silently ignored, and the column will remain visible.

Related pages: Columns | Column Groups | Binding Syntax | Styles
Last modified on July 10, 2026