Skip to main content

Template-Instance Model

Risksheet configuration follows a template-instance model:
  • Template — a single sheet configuration defined once at the project or global level. The template specifies which columns appear, how levels are organized, which formulas calculate values, and how cells are styled.
  • Instances — many Polarion LiveDoc documents bound to the template. Each instance is a risksheet that reads its structure from the shared template.
  • Binding context — each instance is bound to a context: a specific LiveDoc within a Polarion project. Multiple instances can share the same template across many documents and projects.
This separation means a single sheet configuration can drive any number of risksheet instances. When the template changes, every bound instance reflects the new structure on the next load. To customize a single document independently, override the template (see Override Template Workflow below). Templates live in one of two locations: The project-level property nextedy.risksheet.risksheetTemplatePath points to the template document, with the format PROJECTID:TEMPLATE_PATH (for example, GlobalLibrary:Risks/Risk Specification).

Template Resolution Flow

When Risksheet opens a document, it resolves the sheet configuration by searching in this order:
diagram
The resolution result includes metadata about where the sheet configuration was found. This metadata is exposed through the configuration API and shown in the Risksheet UI to help administrators understand which configuration is active for each instance.

Configuration Source Properties

These properties track where the current sheet configuration was loaded from. They are set automatically by the configuration loader and are read-only.

Template Path Project Setting

The template path setting controls where users can create new Risksheet documents in the project folder structure.

Single Path

This is the default. New Risksheet documents are created in the Risks/ folder using the Risk Specification template.

Multiple Paths

When multiple paths are specified (comma-separated), the document creation wizard presents all available templates to the user. Each path points to a folder and template name combination. Pick the closest solution template for your industry and methodology, then modify the instance to match your process.
Each path follows the format FolderName/TemplateName. The folder name determines where in the Polarion project structure new documents are created. The template name identifies which Polarion template module provides the initial document structure and default sheet configuration.

Document Creation Wizard

The template path setting feeds into the document creation wizard accessible from the Risksheet home view. The wizard allows users to:
  1. Browse available folders defined in the template path setting
  2. Select a template from the configured options
  3. Enter a document name
  4. Create the document with the selected template’s default sheet configuration
The document creation endpoint is POST /document/create. On success, the user is redirected to the new Risksheet document. On failure, an error message is displayed.

Override Template Workflow

Risksheet provides a mechanism to detach a document’s sheet configuration from its inherited template, creating a document-specific configuration:
diagram
  • Override Template: Creates local copies of the configuration files (sheet configuration, PDF export configuration, and any other template attachments) directly on the document, detaching the instance from the global template.
  • Revert to Template: Removes the document-level configuration attachments and restores template inheritance. This discards all document-specific customizations.
Reverting a document back to template inheritance permanently discards any document-specific configuration changes. There is no undo for this operation. Consider backing up the document’s sheet configuration attachment before reverting.

Configuration Editor

Risksheet provides a visual configuration editor accessible via the toolbar or context menu. The editor opens in a new browser window and supports YAML editing for the sheet configuration (v25.5.0+). The configuration editor URL is constructed as:

Suggester Configuration

Project-level settings control the behavior of the autocomplete suggester used in item link and task link columns. These settings apply globally to all Risksheet documents in the project.
For large projects with thousands of work items, consider reducing resultLimit to 10 and disabling allFieldSearch to improve autocomplete responsiveness. Enable keywordRequired to force more targeted searches.

UI Customization Settings

Project-level settings allow organizations to rebrand and customize the Risksheet interface.
diagram

Additional Project Properties

Configuration Loading and Caching

Risksheet caches sheet configuration files for performance. The cache uses the attachment revision identifier to detect changes:
If the sheet configuration cannot be read or parsed, Risksheet logs an error: "Error while reading configuration". Check the Polarion server logs for details. Common causes include malformed configuration syntax or missing template attachments.

Complete Example

Project-level settings configured in Polarion Administration:
This configuration:
  • Provides three template options (FMEA, HARA, TARA) in the document creation wizard
  • Rebrands the tool as “Risk Analysis Tool” with “Risk Assessment” document naming
  • Keeps auto-suspect links enabled for traceability compliance
  • Configures the suggester with a 15-result limit and fuzzy/wildcard search enabled
Last modified on July 10, 2026