Step 1: Open the Domain Model
- Navigate to Administration > Nextedy POWERSHEET > Domain Models
- Select the domain model to edit
- Locate the
domainModelTypessection
Step 2: Map a Single Work Item Type
Add thepolarionType property to an entity type to map it to a Polarion work item type:
polarionType value must match the exact Polarion work item type ID (typically lowercase first letter by convention).
Step 3: Map Multiple Polarion Types to One Entity
ThepolarionType property accepts either a single string or an array of strings, allowing one domain model entity to represent multiple Polarion work item types:
Mapping Reference
The following table shows mappings from the RTM example model. Your own model will use entity types and Polarion type IDs specific to your domain.| Domain Model Entity | polarionType | Polarion Work Item Type |
|---|---|---|
UserNeed | userNeed | User Need |
SystemRequirement | systemRequirement | System Requirement |
DesignRequirement | designRequirement | Design Requirement |
Hazard | hazard | Hazard |
RiskControl | riskControl | Risk Control |
Step 4: Map Relationship Link Roles
When defining relationships, thelinkRole property maps to a Polarion link role. Ensure the link role exists in your Polarion project configuration:
storage: linkedWorkItems value tells Powersheet to use Polarion’s native work item link mechanism for persisting the relationship.
Step 5: Use the Complete RTM Example
Here is a standard RTM mapping with all five entity types:The exact Polarion work item type IDs depend on your project configuration. Check Administration > Work Item Types for the correct IDs.
Verify
After saving the domain model, open a powersheet document that uses this model. You should now see:- Entity types correctly load work items from Polarion matching the mapped types
- Creating new items produces the correct Polarion work item type
- Relationship pickers display items of the correct types
See Also
- Create an Entity Type — define entity types in the domain model
- Configure a Relationship — connect entity types with link roles
- Fix Type Name Errors — resolve type mapping issues
- Validate Your Data Model — check model configuration for errors
Source reference
Source reference
model.yaml, DomainModelTypeV2.java, SchemaGenerator.java, todosBig_model.yaml
Sources
Sources
Source Code
model.yamltodosBig_model.yamlDomainModelTypeV2.javaSchemaGenerator.javatodos_model.yaml