Step 1: Verify Entity Type Names
Entity type names indomainModelTypes must be single words without spaces or special characters:
Step 2: Verify polarionType Mappings
Ensure each polarionType value matches an existing Polarion work item type ID. Go to Administration > Work Item Types in Polarion to check available types.
| Domain Model Entity | polarionType | Check |
|---|---|---|
UserNeed | userNeed | Must exist in Polarion |
SystemRequirement | systemRequirement | Must exist in Polarion |
DesignRequirement | designRequirement | Must exist in Polarion |
Hazard | hazard | Must exist in Polarion |
RiskControl | riskControl | Must exist in Polarion |
Step 3: Verify Relationship References
In therelationships section, both from and to values must reference entity type names defined in domainModelTypes — not Polarion work item type IDs:
Step 4: Verify Link Roles Exist
EachlinkRole in a relationship must match a link role defined in Polarion:
- Go to Administration > Work Item Link Roles in Polarion
- Confirm the link role ID exists (e.g.,
refines,verifies,relatesTo) - Verify the link role allows connections between the correct work item types
Step 5: Check Property Names
Properties listed in entity type definitions should match Polarion custom field names or built-in field names:project and document have special handling and should not be defined as custom properties.
Step 6: Use the Model Helper Widget
The Model Helper widget provides a visual representation of your model structure and helps verify that bindings and expansion paths are correct:- Open a LiveReport page with the Model Helper configured
- Set the parameters:
- model: your model name (e.g.,
rtm) - projectId: your project ID
- startEntity: the root entity type (e.g.,
UserNeed) - depth: number of relationship levels to display
- model: your model name (e.g.,
- Review the tree structure to confirm all relationships are correctly connected
Validation Checklist
Use this checklist to validate your domain model before deployment:- All entity type names are single PascalCase words
- Each
polarionTypeexists in Polarion work item types - All
fromandtovalues in relationships referencedomainModelTypeskeys - All
linkRolevalues exist in Polarion link role configuration - Navigation property names (
direct.name,back.name) are unique per entity type - Properties reference valid Polarion field names
-
cardinalityvalues are one of:one-to-one,many-to-one,one-to-many,many-to-many -
storageis set tolinkedWorkItemsfor Polarion link-based relationships
Verify
After correcting any issues, save the domain model and open a powersheet document. You should now see:- The sheet loads without model connection errors
- All entity types display the correct Polarion work items
- Relationships expand correctly in the hierarchy
- Picker dialogs show items of the correct types
See Also
- Fix Model Connection Errors — resolve model loading failures
- Fix Type Name Errors — fix entity type naming issues
- Fix Relationship Errors — debug relationship configuration
- Use Model Helper Widget — visualize model structure
- Creating Your First Data Model — step-by-step tutorial
Source reference
Source reference
SchemaGenerator.java, model.yaml, OrderByClause.java, ticket insights on validation rules
Sources
Sources
KB ArticlesSupport TicketsSource Code
OrderByClause.javaprod-powersheet-src/com.nextedy.powersheet.client/src/modules/ModelProvider/ModelProvider.tsxSchemaGenerator.javaQueryToLuceneTest.javamodel.yaml