Prerequisites
- Access to your project’s domain model YAML file via Administration > Nextedy POWERSHEET > Domain Models or through Menu > Configuration > Edit Model within a powersheet document
- The Polarion work item type you want to map to must already exist in your project configuration
Step 1: Open the Domain Model
- Open your powersheet document
- Go to Menu > Configuration > Edit Model
- Locate the
domainModelTypessection in the YAML editor
Step 2: Add the Entity Type
Add a new key underdomainModelTypes with a PascalCase name. The key becomes the entity type name used throughout Powersheet.
Entity Type Properties
| Property | Required | Description |
|---|---|---|
polarionType | Recommended | Maps to a Polarion work item type ID. If omitted, the entity type name is used. |
properties | Yes | Map of property names to expose. Use null values for default configuration. |
Step 3: Define Properties
List the Polarion work item fields you want to expose. Each key inproperties must match a built-in field name or custom field name in Polarion.
| Property Name | Description |
|---|---|
description | Work item description (rich text) |
severity | Severity enum field |
component | Component assignment |
type | Work item sub-type |
status | Workflow status |
title | Work item title (automatically included) |
Step 4: Add Built-in Types (If Needed)
The domain model supports two special built-in entity types that do not requirepolarionType:
Document— represents Polarion LiveDoc modules. Automatically includes module-level properties.Chapter— represents document headings (structure elements).
Step 5: Save and Verify
- Save the domain model YAML
- Reload the powersheet document
- You should now see the new entity type available in source queries and relationship configurations
- Set model to your model name
- Set startEntity to your new entity type name
- Set depth to
1
Example: Adding Multiple Entity Types
The entity type name (
DesignRequirement) is used within Powersheet for relationships, queries, and binding paths. The polarionType value (designOutput) is the Polarion work item type ID used for server queries. These can differ.See Also
- Configure a Relationship — connect entity types with navigation properties
- Add a Custom Property — expose custom fields on entity types
- Map to Polarion Types — detailed type mapping reference
- Domain Model Types — full property reference
- Validate Your Data Model — check your model for errors
Sources
Sources
KB Articles
- Getting Started: Data Model configuration
- Model Helper
- How to Add a New Column for External References Linked to Design Outputs
DataPropertyFactory.javaDatabridgeMetadata.javaDomainModelV2.javaDomainModelTypeV2.javatodosBig_model.yaml