Use
multiItemLink instead of itemLink when a cell may contain more than one linked work item. An itemLink column shows only one item per cell and silently drops additional links. If you need to display requirements, test cases, or other items where multiple links are expected, always use multiItemLink.Column Properties
Type-Specific Properties
ThesetypeProperties sub-properties apply specifically to multiItemLink columns.
The exact set of
typeProperties sub-properties and their behaviors may vary by Risksheet version. The properties listed above are verified against production sheet configurations and the Nextedy Support Portal.Basic Configuration
A minimalmultiItemLink column definition in the sheet configuration:
Displaying Multiple Work Item Types
To show different linked work item types in a single column, list all types intypeProperties.linkTypes as a comma-separated string. This is useful when both system-level and software-level test cases link to the same risk item.
Cross-Project Linking
multiItemLink columns can load and display items from a different Polarion project by specifying the typeProperties.project property.
$projectId runtime variable for the current project) to enable multi-project autocomplete:
Creating New Items from multiItemLink Cells
WhencanCreate is true (the default), users can create new linked work items directly from the cell editor:
- Click on a
multiItemLinkcell to activate the editor - Start typing in the autocomplete field
- If no existing item matches, select the “Add new [item type]” option from the dropdown
- The new item is created with the typed text as its title and automatically linked to the current risk item
- Existing items matching the search query from the server
- Locally created but unsaved items from the current session
- An “Add new [type]” option if
canCreateistrue
Query Factory for Autocomplete Filtering
You can customize the autocomplete suggestions by configuring aqueryFactory that applies custom filtering logic. The queryFactory references a named function defined in the top-level queryFactories section of the sheet configuration; the function returns a Lucene query string used to filter dropdown suggestions based on the current row context.
Query factory support for
multiItemLink columns was added in version 24.3.0. Verify that your version supports this feature.Saving New Items to Specific Documents
WhentypeProperties.project and typeProperties.document are both specified, newly created items are stored in the designated document within the target project. This pattern is also used for shared upstream library scoping (for example, restricting autocomplete to items from a shared harms or requirements library).
Sorting Behavior
When users click the column header to sort amultiItemLink column, the system concatenates all linked item labels into a single string and sorts alphabetically by the combined value. Unsaved items (prefixed with *) are sorted with their asterisk prefix intact.
The
sortBy configuration can include multiItemLink column IDs for default sort order. Use the ~ prefix for descending sort:
Undo/Redo Support
Changes tomultiItemLink cells are tracked by the undo/redo system. When you undo an edit to a multiItemLink cell, all dependent column values are automatically restored to maintain data consistency. This includes:
- The linked item references in the cell
- Any nested column values that were populated from the linked items
- Related column values in merged cell ranges
multiItemLink cells are bundled as a single undoable action.
Excel Export Behavior
When exporting to Excel,multiItemLink columns are rendered as newline-separated lists of linked item labels. Each linked item appears on a separate line within the Excel cell.
Items with IDs starting with
* (unsaved items) are exported with the asterisk prefix to indicate their unsaved state.
Error Handling
Complete Example
A comprehensive FMEA configuration with twomultiItemLink columns — one for upstream requirements and one for verification test cases:
See Also
- Item Link Columns — Single-item link column type for one linked item per cell
- Task Link Columns — Columns for downstream task/mitigation links
- Column Type Reference — Overview of all available column types
- Levels Configuration — Hierarchical level configuration including
controlColumn - Data Types — Configuring risk and task data types
- Suggestion and Autocomplete API — API behind linked item autocomplete