type property. This means dropdown values are governed by Polarion administration, reuse existing custom fields, and remain consistent across projects and documents.
Define the Enumeration in Polarion
severity-enum.xml) and add the option entries. Each option has an id (stored value) and a name (display label). Optional description text appears as secondary information in the dropdown.Example enumeration entries for a severity scale used by ISO 14971 risk analysis:Bind a Custom Field to the Enumeration
Reference the Enumeration from a Column
risksheet.json) through the configuration editor and add a column entry. The column connects the Polarion custom field to the dropdown editor through two properties:bindings— the custom field IDtype— the editor type plus the enumeration ID
type: rating:<enumId>. For non-rating category lists, use type: enum:<enumId>. Both forms tell Risksheet to render a dropdown populated from the named Polarion enumeration.type value follows the pattern enum:<enumId> or rating:<enumId>, where <enumId> matches the enumeration ID configured in Polarion Administration. The dropdown editor is activated automatically — there is no separate enum or rating definition inside the sheet configuration.The rating: form is semantically distinct from enum: and is used by the risk parameter system (RPN calculation, severity colouring, risk matrices in the top panel configuration). Use rating: for severity, occurrence, and detection scales, and enum: for general category fields.Add a Multi-Select Dropdown
type: multiEnum:<enumId>. The column binds to a Polarion multi-enum custom field — the same pattern as a single-select enum, but the field stores an array of option IDs.+3 more). Selected values are stored as an array of enum IDs on the work item.showEnumDescription: true on the column to display the enumeration’s description text beneath each option name inside the dropdown. This helps analysts pick the correct rating without leaving the grid.Dependent Enumerations for Cascading Dropdowns
queryFactory function for dynamic filtering.Typical pattern in the sheet configuration:queryFactory function and reference it from the child column’s typeProperties.queryFactory.Dynamic Filtering with queryFactory
queryFactory function to compute the Lucene query at runtime.Define the function under the top-level queryFactories section, then reference it from the column’s typeProperties.queryFactory:info object holding the current row context and returns a Lucene query string that filters the dropdown suggestions. This pattern is the recommended approach for cascading dropdowns that depend on values from multiple sources.Hide or Retire Options
- Active options appear in the dropdown for new entries.
- Inactive options remain visible on existing cells that already hold that value, so historical records still display the correct label.
- Inactive options are not offered as new selections.
Verification
After configuring the enumeration in Polarion, binding the custom field, and updating the sheet configuration, you should see dropdown fields in your Risksheet columns showing the configured options. Selecting a value in a parent column should automatically filter the available options in the dependent child column. Multi-enum columns should display multiple selections as a compact list with a count indicator once more than two items are selected. If the dropdown is empty, confirm that:- The Polarion enumeration ID in the column
typevalue matches the enumeration filename in Administration. - The Polarion custom field referenced by
bindingsexists on the risk work item type and has the correct enumeration as its data type. - For dependent enums, the parent column’s enumeration option IDs match the values used in the queryFactory or dependent enumeration mapping.
See Also
- Configure Enum Columns — detailed enum column setup
- Configure Multi-Enum Columns — multi-select enumeration columns
- Configure Dependent Enums — advanced cascading dropdown patterns
- Configure Multi-Select Enums — multi-select behaviour and display
- Add a Basic Column — column type configuration basics