What you will achieve
By the end of this tutorial you will have:- A working domain model with two entity types (
UserNeedandSystemRequirement) - A relationship connecting the two entity types via a Polarion link role
- A foundation you can extend with additional entity types
This tutorial uses
UserNeed and SystemRequirement from the shipped RTM example model. In your own configuration, replace these with entity types that match your domain — for example, Task and Subtask, Hazard and RiskControl, or any names meaningful to your workflow.Prerequisites
- Powersheet installed and licensed (see Installing Powersheet)
- Navigation topic enabled (see Setting Up Navigation)
- At least two Polarion work item types configured in your project (e.g.,
userNeedandsystemRequirement) - A Polarion link role defined for connecting the two types (e.g.,
relates_to)
Step 1: Open the domain model administration
Navigate to Administration > Nextedy POWERSHEET > Domain Models. Click New to create a new domain model at the project level. Select System Default as the base and give your model a name (e.g.,rtm).
You should see: A new domain model file opens in the configuration editor with the default template content.
Step 2: Define entity types
Replace the content of the domain model with the following minimal YAML:domainModelTypes defines an entity type name. The polarionType property maps the entity type to a Polarion work item type. The properties section lists which work item fields are exposed for use in sheet configurations.
You should see: The YAML is accepted without errors in the editor.
Step 3: Define a relationship
Add therelationships section below the entity types:
UserNeed to SystemRequirement, stored using the Polarion relates_to link role.
You should see: The complete model now has both domainModelTypes and relationships sections.
Step 4: Review the complete model
Your complete domain model should look like this:fromNavPropName and toNavPropName values become the navigation properties you will reference in your sheet configuration columns.
Next steps
- Creating Your First Sheet Configuration — define columns that reference this domain model
- Creating Your First Powersheet Document — create a document that uses the configuration
- Incremental Configuration Approach — understand why starting simple prevents errors