Skip to main content
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

These typeProperties 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 minimal multiItemLink 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 in typeProperties.linkTypes as a comma-separated string. This is useful when both system-level and software-level test cases link to the same risk item.
Instead of creating separate columns for each linked work item type, use a single multiItemLink column with multiple linkTypes. This provides a better overview and reduces the total column count, which also improves performance for large sheets.

Cross-Project Linking

multiItemLink columns can load and display items from a different Polarion project by specifying the typeProperties.project property.
When loading items from multiple projects, the system uses the first mentioned project for saving new items. You can control which project receives newly created items by listing the preferred project first. Use a space-separated list (and the $projectId runtime variable for the current project) to enable multi-project autocomplete:
For multiItemLink columns loading items from multiple projects, new items created through the “Add new” option are saved to the first project specified. Ensure the target project has the appropriate work item types and permissions configured.
When canCreate is true (the default), users can create new linked work items directly from the cell editor:
  1. Click on a multiItemLink cell to activate the editor
  2. Start typing in the autocomplete field
  3. If no existing item matches, select the “Add new [item type]” option from the dropdown
  4. The new item is created with the typed text as its title and automatically linked to the current risk item
diagram
The autocomplete dropdown combines:
  • Existing items matching the search query from the server
  • Locally created but unsaved items from the current session
  • An “Add new [type]” option if canCreate is true

Query Factory for Autocomplete Filtering

You can customize the autocomplete suggestions by configuring a queryFactory 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

When typeProperties.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 a multiItemLink 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 to multiItemLink 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
The undo stack maintains up to 50 actions. Paste operations that affect multiple 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 two multiItemLink columns — one for upstream requirements and one for verification test cases:

See Also

Last modified on July 10, 2026