Two files, two concerns
At its simplest, the distinction is:| Domain Model | Sheet Configuration | |
|---|---|---|
| Purpose | Defines what data exists | Defines how data is displayed |
| Contains | Entity types, relationships, constraints | Columns, sources, views |
| YAML root keys | domainModelTypes, relationships | columns, sources, views |
| Managed in | Administration > Nextedy POWERSHEET > Domain Models | Administration > Nextedy POWERSHEET > Sheet Configurations |
| Scope | Project or Global | Project or Global |
Why separate files?
The separation enables several important patterns:One domain model, many sheet configurations
A single domain model — for example, one definingUserNeed, SystemRequirement, DesignRequirement, Hazard, and RiskControl — can power multiple sheet configurations:
- An RTM overview sheet showing all five entity types in a traceability matrix
- A risk analysis sheet focusing only on
HazardandRiskControl - A requirements authoring sheet showing
UserNeedandSystemRequirementwith editing enabled
model property in its sources section, but presents different columns and views.
One sheet configuration, many projects
Because the domain model maps abstract entity type names (likeSystemRequirement) to concrete Polarion work item types (like sys_req or systemRequirement), the same sheet configuration can work across projects that have different Polarion type names. Each project just needs its own domain model with the correct polarionType mappings.
Independent change cycles
Changing a column width, adding a new view, or reordering columns only touches the sheet configuration. Adding a new entity type or relationship only touches the domain model. This means:- Presentation changes do not risk breaking the data structure
- Structural changes do not require updating every sheet that uses the model
The reference point: sources
The sheet configuration connects to the domain model through thesources section:
model value is the name of the domain model file. The query.from value is an entity type name from domainModelTypes. The expand tree uses navigation property names defined in the domain model’s relationships section.
Column binding paths
Columns in the sheet configuration use binding paths that trace a route through the domain model:| Binding path | Meaning |
|---|---|
title | The title property of the root entity type |
severity | The severity property of the root entity type |
systemRequirements.systemRequirement | Navigate to related SystemRequirement via the systemRequirements navigation property |
systemRequirements.systemRequirement.severity | The severity of the related SystemRequirement |
The enum provider connection
When a document has thenextedySheetConfig custom field, it uses a dynamic enum provider named Nextedy - Sheet Config that scans the repository for available YAML configuration files. This provider discovers both project-level and global configurations:
- Project configurations: shown by filename (e.g.,
rtm-sheet) - Global configurations: shown with a
(Global)suffix (e.g.,rtm-sheet (Global))
Common misconceptions
Based on support patterns, these misunderstandings frequently cause configuration errors:Further reading
- Model-Driven Design — the design philosophy behind the separation
- Creating Your First Data Model — hands-on tutorial for domain models
- Creating Your First Sheet Configuration — hands-on tutorial for sheet configurations
- Entity Types and Relationships — deep dive into domain model structures
Sources
Sources
KB Articles
- Getting Started: Data Model configuration
- Core Concepts of Powersheet
- Getting Started: Sheet Configurations
prod-powersheet-src/com.nextedy.powersheet/src/com/nextedy/powersheet/PowersheetService.javaprod-powersheet-src/com.nextedy.powersheet.client/ltc-repo/packages/common/types/api/document.tsprod-powersheet-src/com.nextedy.powersheet.client/cypress/fixtures/configurations/constraints_composing.template.yamlprod-powersheet-src/com.nextedy.powersheet/src/com/nextedy/powersheet/enumProvider/SheetConfigEnumProvider.javariskmanagement_model.yaml