Skip to main content

Prerequisites

Before configuring expansion paths, ensure you have:

How Expansion Connects Model, Source, and Columns

The three configuration layers — data model, sheet sources, and sheet columns — connect through navigation property names. The data model defines entity types and relationships. Sources define how to query and expand those relationships. Columns define how to display the resulting data. The cardinality of a relationship determines the expand pattern and the column binding syntax.
diagram

Shared Data Model for Examples

All examples below use this data model:
Each relationship defines a direct and back navigation direction. The direct side navigates from the from entity toward the to entity. The back side navigates in reverse.
1

Expand a Many-to-One Relationship (N:1)

Scenario: Each UserNeed belongs to exactly one Chapter. Use the direct direction — the navigation property chapter (singular, scalar).Add the expand to your source configuration:
Then bind columns to the expanded entity:
  • chapter — renders a single-value reference picker (scalar navigation property)
  • chapter.title — displays the referenced Chapter’s title as a read-only column
2

Expand a One-to-Many Relationship (1:N)

Scenario: Each Chapter has multiple child UserNeed items. Use the back direction — the navigation property userNeeds (plural, collection).
  • userNeeds — expands into child rows in the sheet, creating a new grid level
  • No dot-notation is needed; the expand directly opens the child level beneath each parent row
3

Expand a Many-to-Many Relationship (M:N)

Scenario: UserNeed items are linked to multiple SystemRequirement items and vice versa. Many-to-many relationships use an association entity between the two types.The source expand requires two levels — first to the association entity, then through to the target entity:
Column bindings use dot-notation to traverse both levels:
  • systemRequirements — navigates to the association entity
  • systemRequirements.systemRequirement — navigates through to the target SystemRequirement entity, acting as a multi-item reference picker
  • systemRequirements.systemRequirement.title — displays the target entity’s title
A many-to-many relationship always uses an intermediate association entity. If you only expand one level (- name: systemRequirements without the nested - name: systemRequirement), you will see the association entities rather than the target items.
4

Build Deep Multi-Level Hierarchies

You can nest expansion paths to any depth. For a full requirements traceability matrix (RTM), chain expansions across multiple entity types:
Each nested level adds another tier of child rows in the sheet. Columns at each level bind to their respective entity type properties.
Each expansion level triggers additional queries to fetch related entities. For large datasets, limit expansion to 2-3 levels and consider using query optimization techniques to maintain performance.
5

Apply Document-Scoped Expansion

Constrain expanded entities to the current document by adding constraints to the source:
The applyCurrentDocumentTo constraint filters expanded SystemRequirement entities to only include those from the same Polarion document context. This is useful when your document contains a scoped subset of work items and you want expansions to respect that boundary.

Cardinality Quick Reference

Common Pitfalls

Property names must exactly match the direct.name or back.name values in your data model. A misspelled property name causes the expansion to silently return no related entities. Verify names in Administration > Nextedy Powersheet > Models.
The direct direction follows the relationship as declared (from the from type to the to type), while back reverses it. Using the wrong direction returns an empty result set. Check the relationship definition to confirm which navigation property name belongs to which direction.
When displaying properties from an expanded entity (e.g., chapter.title), set isReadOnly: true on the column. This prevents users from attempting to edit values that belong to a different entity type.
For a column binding like systemRequirements.systemRequirement.title to display data, the source must include a matching expand entry with name: systemRequirements and nested name: systemRequirement. Missing or mismatched expansions result in empty columns.

Verify Your Configuration

After saving your sheet configuration:
  1. Open the Polarion document that uses this sheet configuration
  2. You should now see nested rows under each parent entity corresponding to the expanded navigation properties
  3. For N:1 expansions, verify the reference picker column shows the correct related entity
  4. For 1:N expansions, verify child rows appear beneath each parent
  5. For M:N expansions, verify the dot-notation columns display target entity properties through both expand levels
If no expanded rows appear, check the navigation property names against your data model and confirm that linked work items exist in Polarion for the relationship.

See Also

Last modified on July 10, 2026