Skip to main content

Configuration Loading Hierarchy

diagram
The configuration manager searches for the sheet configuration attachment in the following order:
  1. Document attachment — the sheet configuration file attached directly to the current Polarion LiveDoc document
  2. Template hierarchy — if not found on the document, the system searches the document’s template module for the attachment
When configuration is loaded from a template, the 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:
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 the sheet configuration from the template and attaches it directly to the current document. After this operation:
  • The document has its own sheet configuration attachment
  • Changes to the template no longer affect this document
  • The fromTemplate flag changes from true to false
  • The templateName property becomes empty
  • The source property 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: The configuration update endpoint (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:
  1. Remove the sheet configuration attachment from the document
  2. The configuration manager will fall back to the template hierarchy on the next page load
  3. The fromTemplate flag returns to true
When you revert from an overridden configuration back to the template, all document-specific configuration changes are lost. The document-level sheet configuration attachment is removed and the template’s configuration takes effect immediately. There is no merge — the template configuration replaces the document configuration entirely.

Template Inheritance Details

Template Resolution

When Risksheet searches the template hierarchy, it looks for the sheet configuration 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: See Template Path Configuration for the full reference on template path settings.

Configuration Sections Subject to Override

When a document overrides the template configuration, the entire sheet configuration file is copied and becomes independent. All configuration sections are included in the override: | 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:
This configuration is now independent of the template and will not change when the template is updated.

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:
  1. Override the template on the TARA document
  2. Modify the columns array to include TARA-specific fields
  3. 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 as sheet configuration: The same resolution order applies: document attachment first, then template hierarchy.

Configuration Editor

The configuration editor opens in a new browser window and provides a visual interface for modifying sheet configuration. The URL is constructed from:
  • configEditUrl — base URL for the editor (${baseUrl}/risksheet/configuration/)
  • projectId — Polarion project identifier
  • document.id — Risksheet document identifier
  • type — configuration section to edit (e.g., columns, settings, levels)
When changes are saved through the editor, the system executes the update within a write transaction. If the document is using a template configuration and you make changes through the editor, the system may prompt you to override the template first.

Interaction with Other Configuration Features

Complete Example

A document-specific override configuration for an automotive FMEA with custom RPN thresholds:

See Also

Last modified on July 10, 2026