File Location
| Location | Description |
|---|---|
| LiveDoc document attachment | Attached directly to the Polarion LiveDoc as risksheet.json. Takes precedence over template configuration. |
| Document template | Defined in a Polarion document template. Applied to all documents created from the template. |
| Global template path | Configured via Risksheet project properties. Default path: Risks/Risk Specification. |
See Configuration Examples for annotated, end-to-end risksheet.json configurations from real-world TARA and FMEA projects.
Top-Level Structure
Top-Level Properties
| Property | Type | Default | Description |
|---|---|---|---|
columns | array | [] | Column definitions for the grid. Each entry defines a column’s binding, type, header, and behavior. |
dataTypes | object | {} | Work item type definitions for risk items, task items, and other data types. |
levels | array | [] | Hierarchical level definitions for multi-level row structures (e.g., failure mode / cause / effect). |
headers | object | {} | Row header and column header configuration (widths, heights, renderers). |
formulas | object | {} | Named JavaScript formula functions referenced by column formula properties. |
styles | object | {} | Named CSS class definitions for conditional cell formatting. |
cellDecorators | object | {} | Named JavaScript functions that apply conditional CSS classes to cells. |
enums | object | {} | Enumeration definitions mapping enum IDs to arrays of options with id, name, description, and icon. |
ratings | object | {} | Rating enumeration definitions. Structure identical to enums but semantically distinct for risk parameter scales. |
relations | array | [] | Relationship definitions for dependent enum behavior and cascading selections. |
views | array | [] | Saved column visibility presets. |
global | object | {} | Global settings: culture/locale, help URL, refresh behavior, menu organization. |
reviews | object | {} | Review workflow configuration. |
sortBy | array | [] | Default sort order as an array of column ID strings. |
readonly | boolean | false | Makes the entire grid read-only. Automatically true when viewing historical revisions. |
downstreamReadonly | boolean | false | Makes downstream linked items (tasks, controls) read-only. |
canAdmin | boolean | false | Indicates administrative privileges. Set by server based on user permissions. |
reviewer | boolean | false | Enables reviewer mode with restricted editing and review-specific UI controls. |
source | string | null | Path to configuration source file. Set by server. |
templateName | string | null | Template name when loaded from global template. Set by server. |
columns
Each entry in thecolumns array defines one grid column.
Column Properties
| Property | Type | Default | Description |
|---|---|---|---|
id | string | Auto-generated from header or binding | Unique column identifier. Referenced by cellDecorators, views, sortBy, and collapseTo. |
binding | string | Same as id | Polarion work item field ID that this column reads from and writes to. |
header | string | None | Display text in the column header. |
type | string | Auto-detected from Polarion field type | Column data type. See Data Types for all supported types. |
level | number | 1 | Hierarchical level (1 = top level, 2 = second level). Not set for task columns. |
width | number | See application | Column width in pixels. |
minWidth | number | See application | Minimum column width in pixels for resizing. |
readOnly | boolean | false | Prevents cell editing. Automatically true for formula, serverRender, reference columns, and system fields (id, status, type, project, outlineNumber, author, resolution, created, updated). |
canCreate | boolean | true | For itemLink and multiItemLink columns: controls whether users can create new linked items. Ignored for other column types. |
filterable | boolean | true | Enables column-level filtering. |
formula | string | None | Named formula reference from the formulas section. When set, column becomes read-only. |
serverRender | string | None | Velocity template script for server-side rendering. When set, column becomes text type and read-only. |
cellRenderer | string | None | Custom client-side cell renderer function name. |
headerGroup | string | None | Header group name for multi-level column headers. |
collapseTo | string | None | Column ID to collapse into when header group is collapsed. |
headerTooltip | string | None | Tooltip text displayed when hovering over the column header. |
cellCss | string | None | CSS class name(s) applied to cells in this column. |
headerGroupCss | string | None | CSS class name(s) applied to the header group row. |
multiLine | boolean | true | Enables multi-line text display and editing. |
wordWrap | boolean | true | Controls text wrapping within cells. |
format | string | None | Display format string (date format, number format). |
isContentHtml | boolean | See application | Indicates cell content should be rendered as HTML. |
Column Example
dataTypes
Defines work item types and their creation/removal behavior.Risk Data Type Properties
| Property | Type | Default | Description |
|---|---|---|---|
type | string | None (required) | Polarion work item type ID. Error if missing: No type attribute is defined for dataType. Supports expression evaluation for dynamic resolution. |
role | string | None | Link role for relationships. Supports expression evaluation. |
removeStrategy | string | delete | Risk item removal strategy. |
rejectedAction | string | reject | Workflow action for rejection. Must be available from the work item’s current state. |
rejectedStatus | string | rejected | Target status after rejection. |
rejectedResolution | string | invalid | Resolution value after rejection. |
showInMenu | boolean | true | Controls toolbar menu visibility for item creation. |
document | string | None | Restricts loaded items to a specific LiveDoc path. |
createInDocument | string | None | Target document path (folder/documentId) for new items. Independent from document. Without this, new items go to the project tracker. |
Task Data Type Properties
| Property | Type | Default | Description |
|---|---|---|---|
type | string | None | Task work item type ID. Supports expression evaluation. |
role | string | None | Link role for task relationships. Supports expression evaluation. |
showInMenu | boolean | true | Controls menu visibility for task creation. |
document | string | None | Restricts task scope. |
createInDocument | string | None | Target document for new tasks (folder/documentId). |
dataTypes Example
Dynamic Type Resolution (typeProperties)
Data type properties support dynamic resolution from Risksheet Configuration Properties using expression evaluation:levels
Defines hierarchical row structure.| Property | Type | Default | Description |
|---|---|---|---|
showInMenu | boolean | true | Controls level visibility in the navigation menu. |
controlColumn | string | systemItemId | Column ID that controls navigation and hierarchy. |
headers
| Property | Type | Default | Description |
|---|---|---|---|
headers.rowHeader.renderer | string | None | Named cell decorator function for row header rendering. |
headers.columnHeader.height | number | 32 | Column header height in pixels. Increase for multi-line header text. |
headers.columnGroupHeader.height | number | 32 | Column group header height in pixels. |
formulas
Named JavaScript functions for calculated columns. Each formula receives aninfo object with info.item containing the current row’s field values.
cellDecorators
Named JavaScript functions that apply conditional CSS classes based on cell values. Each function receives aninfo object with info.value (cell value), info.item (row data), and info.cell (DOM element).
styles
CSS class definitions referenced bycellDecorators. Use !important to override grid default styles.
enums and ratings
Both define enumeration options with identical structure.enums is for general dropdowns; ratings is for risk parameter scales.
global
| Property | Type | Default | Description |
|---|---|---|---|
global.culture | string | en | Culture/locale code affecting date formats, number formats, and localization. See Culture and Localization Codes. |
global.help | string | https://go.nextedy.com/risksheet-support-portal | URL opened when users click the Help button. |
reviews
| Property | Type | Default | Description |
|---|---|---|---|
reviews.reviewManager | string | CommentBased | Review workflow type. |
views
Saved column visibility presets.sortBy
Default sort order as column ID array.Complete Example
See Also
- Configuration Properties Index — All properties in one searchable index
- Default Configuration Values — Default values for all properties
- Configuration Validation Rules — Validation rules and constraints
- Configuration Interactions — Property dependency reference
- Data Types — Column type reference
- Column Type Reference — Column configuration details
Sources
Sources
KB Articles
- Adjusting Risksheet configuration
- Risksheet Document Config File - risksheet - format reference
- Add Risksheet column
PolarionAppConfigManager.javarisksheet.jsonAppConfigParser.tsAppConfig.tsOpenHelpCommand.ts