Prerequisites
- A domain model already configured in Administration > Nextedy POWERSHEET > Domain Models
- Permissions to create a LiveReport page in your Polarion project
- At least one entity type with relationships defined in your domain model
Step 1: Create the Model Helper LiveReport Page
Model Helper runs as a LiveReport page inside Polarion. To set it up:- Navigate to your project in Polarion
- Go to Wiki > LiveReport Pages
- Create a new LiveReport page
- Import the Model Helper page archive provided by Nextedy
The Model Helper page archive is supplied with the Powersheet installation package. Contact your administrator if you do not have access to the archive file.
Step 2: Configure the Parameters
When you open the Model Helper LiveReport, fill in four parameter values at the top of the page:| Parameter | Description | Example |
|---|---|---|
model | Name of the domain model to visualize | rtm |
projectId | Project ID where the model is defined | RTM_Demo |
startEntity | Root entity type for expansion visualization | UserNeed |
depth | Number of relationship levels to expand from the start entity | 3 |
Step 3: Read the Visualization Output
The Model Helper displays three key pieces of information:- Entity types shown as nodes, each displaying the entity name and its
polarionTypemapping (for example,UserNeedmapped touser_need) - Relationships shown as labeled connections between entity nodes, annotated with the navigation property name (the
directorbackname from your domain model) - Expansion depth indicating how many relationship levels each entity sits from the start entity
| Layer | What it defines | What Model Helper shows |
|---|---|---|
| Domain model | Entity types and relationships | Nodes and connections |
| Sheet sources | How to query and expand relationships | Expansion paths from start entity |
| Sheet columns | How to display the resulting data | Available binding paths at each level |
Step 4: Map Visualization to Source Configuration
The expansion paths shown in Model Helper translate directly to theexpand section of your sheet sources. The cardinality of each relationship determines the expand pattern.
Many-to-One (N:1) Relationships
For scalar navigation properties (one parent per child), use a single-level expand with thedirect name:
direct name in your domain model (chapter) becomes the expand name. In your columns, bind to this property for a reference picker:
chapterrenders a single-value reference picker (scalar navigation property)chapter.titlerenders a read-only display of the referenced Chapter’s title using dot-notation
One-to-Many (1:N) Relationships
For collection navigation properties (one parent, many children), the expand opens a new hierarchy level using theback name:
back name in your domain model (userNeeds) becomes the expand name. In columns, reference the child level directly:
Many-to-Many (M:N) Relationships
Many-to-many relationships use an association entity between the two types. The source expand requires two levels:systemRequirements) is the association collection; the second level (systemRequirement) is the target entity. Column bindings use dot-notation through the association:
Step 5: Validate Binding Paths Against the Model
After building your source and column configuration, use Model Helper to verify that every binding path in your columns corresponds to a valid expansion path. Cross-check each column key against the visualization:- Simple property (e.g.,
title,description) — the property must exist on the source entity type - Single-level navigation (e.g.,
chapter) — must match adirectorbackname in a relationship from the source entity - Dot-notation path (e.g.,
systemRequirements.systemRequirement.title) — each segment must follow a valid relationship defined in the domain model
Cardinality Quick Reference
| Cardinality | Domain Model | Source Expand | Column Binding | UI Behavior |
|---|---|---|---|---|
| N:1 | cardinality: many-to-one, direct name: chapter | - name: chapter | chapter, chapter.title | Single-value reference picker |
| 1:N | Reverse of N:1, back name: userNeeds | - name: userNeeds | userNeeds | Child rows (new hierarchy level) |
| M:N | cardinality: many-to-many, back name: systemRequirements | - name: systemRequirements then - name: systemRequirement | systemRequirements.systemRequirement | Multi-item reference picker |
Step 6: Verify Your Setup
After configuring your sheet based on Model Helper output:- Open the Powersheet document that uses your sheet configuration
- Verify that all entity types listed in Model Helper appear as expandable levels in the sheet
- Confirm that column headers match the expected entity properties at each level
- Expand rows at each hierarchy level to confirm that relationships load correctly
- Test reference pickers to ensure they display the correct linked entities
See Also
- Configure a Relationship — define relationships between entity types in the domain model
- Create Bidirectional Links — set up
directandbacknavigation properties - Configure Many-to-Many Relationships — association entity pattern for M:N links
- Configure Sources — full reference for the
sourcessection - Add a Column — column binding syntax and display options
- Data Model Reference — complete domain model specification
Sources
Sources
Source Code
DomainModelV2.javaRelationship.javaProperty.javaEntityTypeFactory.javaSheetConfigEnumProvider.java