Configuration Loading Hierarchy
risksheet.json attachment in the following order:
- Document attachment — the
risksheet.jsonfile attached directly to the current Polarion LiveDoc document - Template hierarchy — if not found on the document, the system searches the document’s template module for the attachment
fromTemplate flag is set to true and the templateName property contains the display name of the source template (including a project name prefix if the template is from a different project).
Configuration Source Properties
These properties are set by the configuration loader and indicate where the active configuration originated:| Property | Type | Default | Description |
|---|---|---|---|
fromTemplate | boolean | false | Set to true when the configuration was loaded from a template document rather than the target document itself. |
configPath | string | None | URI path to the configuration attachment that was actually loaded, whether from the document or from a template. Useful for debugging configuration source. |
templateName | string | None | Display name of the template document from which configuration was inherited. Includes project name prefix if the template is from a different project. Empty when configuration is loaded directly from the document. |
fileName | string | None | Path and name of the document where configuration was requested (not necessarily where it was found). Formatted as folder/documentTitle. |
source | string | null | Path to the configuration source file (document or template) used to load the Risksheet configuration. Displayed in the UI to indicate configuration origin. |
revision | string | None | Data revision identifier of the cached configuration attachment. Used internally for cache invalidation when attachment content changes. |
The configuration manager caches loaded configuration files keyed by the document path and the attachment revision. When the attachment is updated (new revision), the cache is automatically invalidated and the configuration is reloaded on the next page load.
Override Template Feature
How It Works
The Override Template feature copies therisksheet.json from the template and attaches it directly to the current document. After this operation:
- The document has its own
risksheet.jsonattachment - Changes to the template no longer affect this document
- The
fromTemplateflag changes fromtruetofalse - The
templateNameproperty becomes empty - The
sourceproperty updates to reference the document itself
Accessing Override Template
The Override Template option is available in the Risksheet menu. It requires administrative privileges (canAdmin: true) to execute. The configuration editor can be opened via:
| Property | Type | Default | Description |
|---|---|---|---|
configEditUrl | string | ${baseUrl}/risksheet/configuration/ | Base URL for the Risksheet configuration editor interface. Opens in a new browser window with project, document, and type query parameters. |
canAdmin | boolean | false | Indicates whether the current user has administrative privileges for configuration editing. Required to access Override Template. |
POST /config/update) supports a scope parameter to indicate whether the update is copying from a template. The operation executes within a write transaction and redirects back to the document view upon completion.
Reverting to Template
The Override Template operation is reversible. To revert a document back to template-inherited configuration:- Remove the
risksheet.jsonattachment from the document - The configuration manager will fall back to the template hierarchy on the next page load
- The
fromTemplateflag returns totrue
Template Inheritance Details
Template Resolution
When Risksheet searches the template hierarchy, it looks for therisksheet.json attachment in the document’s template module. The template module is determined by the Polarion document’s template assignment (configured at document creation time or through Polarion’s document management).
If the template module is in a different project, the templateName includes the project name prefix for disambiguation. For example, a template named “FMEA Standard” in the “Templates” project would display as Templates/FMEA Standard.
Template Path Configuration
The location where Risksheet documents can be created is controlled by the template path configuration:| Property | Type | Default | Description |
|---|---|---|---|
| Template path | string | Risks/Risk Specification | Document template path(s) where new risk documents can be created. Multiple paths can be comma-separated. Configured in the Risksheet project properties. |
Configuration Sections Subject to Override
When a document overrides the template configuration, the entirerisksheet.json file is copied and becomes independent. All configuration sections are included in the override:
| Section | Property | Description |
|---|---|---|
| Column definitions | columns | Array of column definitions including bindings, types, headers, and rendering properties |
| Data types | dataTypes | Risk and task type configuration including work item types, roles, and menu visibility |
| Levels | levels | Hierarchical level definitions with control columns |
| Formulas | formulas | Named JavaScript formula definitions for calculated columns |
| Styles | styles | CSS style definitions for conditional formatting |
| Cell decorators | cellDecorators | Conditional formatting functions that apply styles based on cell values |
| Enumerations | enums | Enumeration option definitions for dropdown columns |
| Ratings | ratings | Rating scale definitions for risk assessment parameters |
| Relations | relations | Enumeration relationships for dependent enum behavior |
| Views | views | Saved column visibility presets |
| Global settings | global | Culture/locale, help URL, refresh behavior, menu organization |
| Reviews | reviews | Review workflow configuration |
| Sort order | sortBy | Default sort column sequence |
| Headers | headers | Row header and column header height/renderer settings |
| Read-only flag | readonly | Global read-only toggle |
| Downstream readonly | downstreamReadonly | Controls whether downstream linked items are editable |
Use Cases for Document Override
Critical Project Phase Isolation
During critical project phases (certification review, safety case preparation), you may want to freeze the Risksheet configuration to prevent unintended changes from template updates. Override the template to create a stable, document-specific configuration:Document-Specific Column Layout
Individual FMEA documents may require different column configurations than the standard template. For example, a cybersecurity TARA analysis may need STRIDE-specific columns while the standard template uses FMEA columns:- Override the template on the TARA document
- Modify the
columnsarray to include TARA-specific fields - The rest of the project’s FMEA documents continue using the template configuration
Testing Configuration Changes
Before modifying a template that affects multiple documents, override the template on a single test document, make changes, and validate. Once confirmed, apply the changes to the template.PDF Export Configuration Override
The PDF export configuration follows the same override pattern asrisksheet.json:
| Property | Type | Default | Description |
|---|---|---|---|
risksheetPdfExport.vm | string | risksheetPdfExport.vm | Velocity template file name for PDF export. Can be attached to the document or inherited from the template. |
pdfExportConfiguration | string | None | Full content of the PDF export Velocity template. Loaded from either the document attachment or the template. |
fromTemplate (PDF) | boolean | false | Whether the PDF export configuration was loaded from a template. |
Configuration Editor
The configuration editor opens in a new browser window and provides a visual interface for modifyingrisksheet.json. The URL is constructed from:
configEditUrl— base URL for the editor (${baseUrl}/risksheet/configuration/)projectId— Polarion project identifierdocument.id— Risksheet document identifiertype— configuration section to edit (e.g.,columns,settings,levels)
Interaction with Other Configuration Features
| Feature | Interaction |
|---|---|
| Template path | Controls where new documents can be created and which templates are available. The template path does not affect the override mechanism. |
| Global help URL | The global.help property defaults to the Nextedy support portal (https://go.nextedy.com/risksheet-support-portal). This can be customized per document via override. |
| Historical revisions | Viewing a document at a specific revision loads the risksheet.json from that revision. The readonly flag is automatically set to true for historical views. |
| Auto-suspect | The auto-suspect setting (whether changes trigger suspect links) is a project-level property, not a document configuration property. It is not affected by document overrides. |
Complete Example
A document-specific override configuration for an automotive FMEA with custom RPN thresholds:See Also
- Risksheet.json Format — complete JSON structure reference
- Template Path Configuration — configuring document template paths
- Configuration Properties Index — all configuration properties
- Default Configuration Values — default values for all properties
- Configuration Validation Rules — validation rules applied to configuration
- Configuration Interactions — property dependencies and interactions
Sources
Sources
KB ArticlesSupport TicketsSource Code
DocumentConfigProvider.javaAppConfig.tsAppConfigParser.tsPolarionAppConfigManager.javaOpenHelpCommand.ts