Standard Sub-Columns with Dot Notation
For single-item link columns (itemLink or taskLink), access linked item properties using dot notation in the bindings property:
- Upstream links —
harm.severity(item linked to current row) - Downstream links —
task.status(task item linked from current row)
Sub-Columns for Multi-Item Links
By default,multiItemLink columns do not support dot notation sub-columns. However, you can use serverRender to display properties from multiple linked items in a separate column.
Upstream Multi-Item Sub-Columns
To show severity values from multiple linked System Requirements:Downstream Multi-Item Sub-Columns
To show severity from all linked Issue work items:Sub-Column Configuration Workflow
| Step | Dot Notation Sub-Columns | ServerRender Sub-Columns (Multi-Item) |
|---|---|---|
| 1. Define link column | {"id": "harm", "type": "itemLink"} | {"id": "effects", "type": "multiItemLink"} |
| 2. Add sub-column | {"bindings": "harm.severity"} | {"serverRender": "...velocity script..."} |
| 3. Specify type | Auto-detected from binding | Always "type": "text" (read-only) |
| 4. Edit behavior | Editable (if permissions allow) | Read-only |
Understanding the ServerRender Template
TheserverRender property contains a Velocity script that:
- Iterates through linked items using
#foreach - Filters by work item type using
#if($typeId.equals("...")) - Renders each field value as a list item
<li> - Formats output with inline CSS to control margins and padding
Key Velocity Methods for Sub-Columns
$item.fields().linkedWorkItems()— Get all upstream linked items$linkedWorkItem.fields().workItem().get()— Get the actual work item object$sysReq.fields().type().get().id()— Get work item type ID for filtering$sysReq.fields().severity().render()— Render field value with Polarion formatting.withIcon(true)— Include field type icon in rendering.htmlFor().forFrame()— Format for RISKSHEET display
$item.transaction().workItems().search().query("...")— Query downstream itemstype:issue AND linkedWorkItems:${item.getReference()}— Find items linking to current row.sort("id")— Sort results by work item ID
Inline Display Alternative
If you prefer to show sub-column data inline with the link (rather than in a separate column), use custom link rendering instead:Verification
After configuring sub-columns:- Save your
risksheet.jsonconfiguration - Refresh the RISKSHEET widget
- For dot notation sub-columns: You should see a separate column displaying the linked item property with the same data type as the source field
- For serverRender sub-columns: You should see a read-only column displaying a formatted list of values from all linked items, sorted by ID
See Also
- Enable Editing of Upstream Columns — Make dot notation sub-columns editable
- Configure Upstream Traceability Columns — Set up upstream item links
- Configure Downstream Traceability Columns — Set up downstream task links
- Show Multiple Linked Items — Configure multiItemLink columns
- Render Custom Data — Complete serverRender guide
- Customize Link Rendering — Inline property display with links
- Server Render Columns — Column type reference
- Velocity Templates — Complete Velocity syntax reference
Sources
Sources
KB Articles
- Display Sub-columns for multiItemLink columns
- Enable editing of read-only up-stream columns
- Collect multiple link columns into one column
CustomMergeManager.tsColumnsHelper.tsrisksheet.jsonPolarionAppConfigManager.javaAppConfig.ts