Prerequisites
- Access to your project’s data model YAML file via Administration > Nextedy Powersheet > Data Models or through Menu > Configuration > Edit Data Model within a powersheet document
- The Polarion work item type you want to map to must already exist in your project configuration
Open the Data Model
- Open your powersheet document
- Go to Menu > Configuration > Edit Data Model
- Locate the
domainModelTypessection in the YAML editor
domainModelTypes section may be empty or contain only a placeholder. You will add your entity types as keys under this section.Add the Entity Type Definition
Add a new key under

domainModelTypes. The key becomes the entity type name used throughout Powersheet for relationships, source queries, and column bindings.Entity Type Fields
| Field | Required | Description |
|---|---|---|
polarionType | Recommended | Maps to one or more Polarion work item type IDs. If omitted, the entity type name is used as-is. Accepts a single string or a list of strings. |
properties | Yes | Map of property names to expose. Use null values (empty after the colon) for default configuration. |
constraints | No | Optional filtering constraints that scope which Polarion items this entity type includes. |
Define Properties
List the Polarion work item fields you want to expose on this entity type. Each key in Common built-in properties:
Properties with a
properties must match a built-in field name or custom field name in Polarion.| Property Name | Description |
|---|---|
title | Work item title (automatically included even if not listed) |
description | Work item description (rich text) |
severity | Severity enum field |
status | Workflow status |
component | Component assignment |
type | Work item sub-type |
null value (empty after the colon) use default configuration. For advanced property configuration including custom field mappings and enum values, see Add a Custom Property.Add Built-in Types (If Needed)
The data model supports the
Document built-in entity type that does not require a polarionType mapping:Document— represents Polarion LiveDoc modules. Automatically includes module-level properties.
Other structural types such as headings may need explicit
polarionType mapping (e.g., Chapter with polarionType: heading). Check your project’s work item type configuration to confirm which types are available.Map Multiple Polarion Types (Optional)
An entity type can map to more than one Polarion work item type by providing a list:This is useful when a single domain concept spans multiple Polarion types and you want to query them together in one sheet source.
Save and Verify
- Save the data 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
Complete Example: RTM Entity Types
A typical requirements traceability matrix uses several entity types connected through relationships:relationships section connects them using from/to references, direct/back navigation property names, and a Polarion linkRole. See Configure a Relationship for the full walkthrough.
Verification Checklist
After saving your data model, confirm the following:| Check | Expected Result |
|---|---|
| Model Helper shows entity type | Type appears with listed properties |
| Sheet source query works | query: { from: YourType } returns Polarion work items |
| Columns display data | Properties defined in the entity type can be used as column binding paths |
| No console errors | Browser console shows no metadata loading errors |
Map Multiple Polarion Types to One Entity
When several Polarion work item types share the same structure, map them all to a single data model entity type using an array:
Requirement entity type return work items of all three Polarion types. This is useful for consolidated views where you want to display different requirement subtypes in a single sheet level.



Map Relationship Link Roles
Relationships between entity types use thelinkRole property to reference a Polarion link role. The link role must already exist in your Polarion project configuration under Administration > Work Items > Link Roles.
| Property | Purpose |
|---|---|
from / to | Source and target entity type names (must match keys in domainModelTypes) |
cardinality | many-to-one, one-to-many, or many-to-many |
storage | linkedWorkItems — the only supported storage mechanism (Polarion native links) |
linkRole | Polarion link role ID used to persist the relationship |
direct.name | Forward navigation property name (source to target) |
back.name | Reverse navigation property name (target back to source) |
Connect Mappings to Sheet Sources and Columns
After mapping entity types and relationships, wire them into a sheet configuration. The three configuration layers — data model, sheet sources, and sheet columns — connect through navigation property names. Source configuration uses the navigation property names fromdirect.name and back.name to expand related entities:
| Cardinality | Source expand | Column binding | UI behavior |
|---|---|---|---|
| N:1 (many-to-one) | - name: chapter | chapter, chapter.title | Single-value reference picker |
| 1:N (one-to-many) | - name: userNeeds | userNeeds | Child rows (new sheet level) |
| M:N (many-to-many) | - name: systemRequirements then - name: systemRequirement | systemRequirements.systemRequirement | Multi-item reference picker |
See Also
- Configure a Relationship — connect entity types with navigation properties
- Add a Custom Property — expose custom fields on entity types
- Configure Constraints — add filtering constraints to entity types
- Set Entity Permissions — control CRUD access on entity types
- Validate Your Data Model — check your model for errors
- Data Model Reference — full data model property reference