What Model Helper Does
Model Helper is a configured widget that dynamically visualizes the domain model structure and the binding paths between entities. It is especially useful when configuring thesources section of your sheet configuration, as it shows which expansion paths are available from a given starting entity.
Prerequisites
- A domain model already configured in Administration > Nextedy POWERSHEET > Domain Models
- Permissions to create a LiveReport page in your Polarion project
Step 1: Create the Model Helper LiveReport Page
Model Helper runs as a LiveReport page in Polarion:- Navigate to your project in Polarion
- Create a new LiveReport page
- Import the Model Helper configuration as a page archive
The Model Helper page archive is provided by Nextedy. Contact your administrator or consult the Powersheet installation resources for the page archive file.
Step 2: Configure the Parameters
When you open the Model Helper LiveReport, you need to fill in four parameter values:| Parameter | Description | Example |
|---|---|---|
model | Name of the domain model to investigate | rtm |
projectId | Project ID where the model is defined | RTM_Demo |
startEntity | Main entity type to use as the starting point for expansion | UserNeed |
depth | Number of relationship levels to expand | 3 |
Step 3: Read the Visualization
Model Helper displays:- Entity types as nodes showing their name and
polarionTypemapping - Relationships as connections between entities, labeled with the navigation property name
- Expansion depth indicating how many levels deep the structure goes from the start entity
sources section correctly, especially the expand paths.
Step 4: Map to Sheet Configuration Sources
Based on the Model Helper output, configure your sheet sources with the appropriate expansion paths:property values in your expand configuration and the column keys in your columns section.
Step 5: Verify
You should now see the domain model visualization in the LiveReport page, showing the entity hierarchy starting from your specifiedstartEntity down to the configured depth. Cross-reference the displayed paths with your sheet configuration to ensure consistency.
See Also
- Creating Your First Data Model — initial domain model setup
- Configure a Relationship — define entity relationships
- Configure Sources — set up data sources with expansion paths
- Validate Your Data Model — check model consistency
Sources
Sources
KB ArticlesSource Code
prod-powersheet-src/com.nextedy.powersheet/src/META-INF/hivemodule.xmlPolarionQueryProcessor.javaDatabridgeMetadata.javaprod-powersheet-src/com.nextedy.powersheet.client/src/modules/ConfigProvider/types/UserPermissions.d.tsprod-powersheet-src/com.nextedy.editor/src/types.d.ts