Add a new entity type to your Nextedy POWERSHEET domain model and map it to a Siemens Polarion ALM work item type so it can be queried, displayed, and linked in your sheets.
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
Locate the domainModelTypes section in the YAML editor
If this is a new domain model, the domainModelTypes section may be empty or contain only a placeholder. You will add your entity types as keys under this section.
Add a new key under domainModelTypes. The key becomes the entity type name used throughout Powersheet for relationships, source queries, and column bindings.
PascalCase (e.g., UserNeed, SystemRequirement) is the recommended naming convention for entity type names but is not enforced by the system. Type names must be single words without spaces or special characters. SystemRequirement is valid; System Requirement is not. Invalid names cause silent errors during model loading.
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.
The entity type name (e.g., UserNeed) is the Powersheet-internal identifier used in relationships, queries, and column binding paths. The polarionType value (e.g., user_need) is the Polarion work item type ID used for server queries. These can and often do differ. A common mistake is using the Polarion display name instead of the type ID.
List the Polarion work item fields you want to expose on this entity type. Each key in properties must match a built-in field name or custom field name in Polarion.
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
Properties with a 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.
Begin with only the properties you need to display in your sheet. You can add more properties later without breaking existing configurations. Starting with a simple single-entity setup makes it easier to diagnose errors during initial setup.
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.
You should now see the new entity type available in source queries and relationship configurations
To verify the entity type is loaded correctly, use the Model Helper widget:
Set model to your model name
Set startEntity to your new entity type name
Set depth to 1
The Model Helper displays the entity type with its properties and any configured relationships.
The sources.model property in your sheet configuration must match the name of your custom domain model, not the default rtm. If the model name does not match, Powersheet silently falls back to the default model and your entity types will not appear.
After defining entity types, the 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.
Any relationships entry that references an entity type by name in from or to fields must use the exact type name including capitalization. A mismatch causes a “left error” (invalid from entity) or “right error” (invalid to entity) during model loading.
Powersheet queries for the 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.
Use array-style polarionType when the Polarion types share the same custom fields and you want to view them together. If they have different properties, create separate entity types instead so you can define distinct property sets for each.
Relationships between entity types use the linkRole property to reference a Polarion link role. The link role must already exist in your Polarion project configuration under Administration > Work Items > Link Roles.
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)
If the linkRole value does not match a link role defined in your Polarion project, Powersheet fails to load related items. Verify available link roles under Administration > Work Items > Link Roles before configuring relationships.
After mapping entity types and relationships, wire them into a sheet configuration. The three configuration layers — domain model, sheet sources, and sheet columns — connect through navigation property names.Source configuration uses the navigation property names from direct.name and back.name to expand related entities:
Column configuration uses the same navigation property names for binding paths:
columns: title: title: Title hasFocus: true chapter: title: Chapter display: title list: search: - title chapter.title: title: Chapter Title isReadOnly: true
The cardinality of the relationship determines how columns behave:
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
When a parent entity links to two different work item types (e.g., design outputs and design verifications both linked to system requirements), declare the second linked column with multiItem: true in the sheet configuration. Without this flag, only the first linked type displays correctly.