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
- A configuration linked to your domain model
Prerequisites
- Powersheet installed and licensed (see Installing Powersheet)
- A domain model created (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 a nested column for related SystemRequirement entities:
columns is a binding path that references properties from your domain model. The dot-separated path systemRequirements.systemRequirement navigates through the relationship defined in the domain model (using the fromNavPropName value).
You should see: Four column definitions in the YAML editor.
The binding path
systemRequirements.systemRequirement uses the navigation property name from your domain model’s fromNavPropName. The first segment (systemRequirements) is the navigation property; the second segment (systemRequirement) accesses the target entity type.Step 3: Define the data source
Add asources section below the columns. This tells Powersheet which domain model to use and how to query the data:
model value must match the name of the domain model you created. The query.from specifies the root entity type. The expand section defines which relationships to follow when loading data.
You should see: The complete configuration now has both columns and sources sections.
Step 4: Connect the configuration to the domain model
Under the Sources section of the editor, verify that themodel value references the domain model you created in the previous tutorial. If your domain model is named rtm, use model: rtm.
Save the sheet configuration.
Step 5: Review the complete configuration
Your complete sheet configuration should look like this:Next steps
- Creating Your First Powersheet Document — create a LiveDoc that uses this sheet configuration
- Incremental Configuration Approach — learn the recommended strategy for extending configurations
- Reference — complete property reference for sheet configuration YAML
Sources
Sources
KB ArticlesSupport TicketsSource Code
prod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/common/types/api/document.tsprod-powersheet-src/com.nextedy.powersheet/src/com/nextedy/powersheet/PowersheetProduct.javaprod-powersheet-src/com.nextedy.powersheet/src/com/nextedy/powersheet/PowersheetService.javaprod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/common/types/domain/document.tsprod-powersheet-src/com.nextedy.powersheet/src/META-INF/hivemodule.xml