What you will achieve
By the end of this tutorial you will have:- A working sheet configuration with columns for
UserNeedand relatedSystemRequiremententities - A data source that queries and expands the entity hierarchy from your domain model
- A complete configuration ready to be linked to a Powersheet document
Prerequisites
- Powersheet installed and licensed (see Installing Powersheet)
- A domain model created with at least
UserNeedandSystemRequiremententity types (see Creating Your First Data Model) - Navigation topic enabled (see Setting Up Navigation)
Step 1: Open the sheet configuration administration
Navigate to Administration > Nextedy POWERSHEET > Sheet Configurations. Click New at the project level. Select System Default as the base and give your configuration a name (e.g.,rtm-sheet).
You should see: A new sheet configuration file opens in the editor with default template content.
Step 2: Define columns
Replace the editor content with the following YAML. This defines columns for the rootUserNeed entity and nested columns for related SystemRequirement entities:
columns is a binding path that references properties from your domain model. A simple key like title refers to a property on the root entity type. A dot-separated path navigates through relationships defined in the domain model:
| Path segment | Meaning |
|---|---|
systemRequirements | The direct navigation property from your domain model relationship |
systemRequirement | The target entity type name |
title | The property to display from the target entity |
The
title property sets the column header text. Without it, the header defaults to the binding path (e.g., 0.systemRequirements.systemRequirement.title), which is not user-friendly. Always set an explicit title for clarity.Step 3: Define the data source
Add asources section below the columns. This tells Powersheet which entity type to query and which relationships to expand when loading data:
id(required) — a unique identifier you choose for this data source. You can name it anything meaningfulquery.from(required) — the root entity type name, matching a key indomainModelTypesfrom your domain modelexpand(optional) — which relationships to follow when loading data. Eachnamecorresponds to a navigation property from your domain model. Expansion can be nested to follow multi-level relationships
columns and sources sections.
Built-in properties like
id and title do not need to be explicitly defined in your sources or domain model to be queried; they are implicitly available. However, you must explicitly list them in your columns section if you want them to appear in the sheet.Step 4: Review the complete configuration
Your complete sheet configuration should look like this:Step 5: Link the configuration to a document
To see your sheet in action, link this configuration to a Powersheet document. Open (or create) a Powersheet document in your project and set its sheet configuration custom field to the name of the configuration you just created (rtm-sheet).
You should see: When you open the document with Powersheet, it renders as a hierarchical sheet with four columns — UserNeed title and severity at the root level, and SystemRequirement title and severity as expandable child rows.
Understanding root-level properties
The sheet configuration supports several root-level properties beyondcolumns and sources. You do not need all of these to start — columns and sources are sufficient for a working sheet:
| Property | Purpose |
|---|---|
columns | Column definitions with binding paths, titles, and display options |
sources | Data source queries and expansion paths |
views | Named column visibility presets for switching between analysis perspectives |
formatters | Conditional formatting rules based on cell or row values |
styles | Reusable style definitions (colors, text decoration) referenced by formatters |
columnGroups | Visual grouping of related columns with collapsible headers |
sortBy | Default client-side sort order by column and direction |
renderers | Custom rendering functions for specialized cell display |
showGroupRowCounter | Whether to display item counts on group rows (default: hidden) |
Next steps
- Incremental Configuration Approach — learn how to extend your configuration step by step
- Creating Your First Powersheet Document — create a document and see your sheet in action
- Sheet Configuration Reference — full property reference for all sheet configuration options
- Columns Reference — detailed reference for column settings like
isReadOnly,formatter, andgroupBy - Data Model Guides — extend your domain model with additional entity types and relationships