Configuration File Types
Risksheet uses three configuration files, each stored as a Polarion document attachment:| File | Purpose | Format |
|---|---|---|
risksheet.json | Primary configuration: columns, levels, data types, formulas, styles, enums, ratings, views, global settings | JSON |
risksheetTopPanel.vm | Custom top panel template with buttons, filters, and UI elements above the grid | Velocity (HTML) |
risksheetPdfExport.vm | PDF export script that controls how risk tables render in exported PDFs | Velocity |
Step 1: Check Document Attachments
- Open the LiveDoc document in Polarion.
- Navigate to the document’s Attachments section.
- Look for
risksheet.jsonin the attachment list.
risksheet.json is present, the document has its own configuration. If it is absent, the document inherits its configuration from a template.
Step 2: Identify the Configuration Source
The configuration metadata exposes several properties that indicate where the active configuration was loaded from:| Property | Value | Meaning |
|---|---|---|
source | Path string | URI path to the configuration attachment that was actually loaded |
templateName | Template name or empty | Name of the template document; includes project prefix if from a different project |
fromTemplate | true / false | Whether configuration was inherited from a template |
templateName is populated (for example, SharedTemplates/FMEA Template), the configuration is inherited. When it is empty, the configuration is attached directly to the document.
Step 3: Download and Edit Locally
To editrisksheet.json outside the built-in editor:
- Open the LiveDoc document in Polarion.
- Navigate to the document’s Attachments section.
- Download the
risksheet.jsonfile. - Edit the JSON in your preferred text editor. Validate syntax with a JSON linter before uploading.
- Upload the modified file back as an attachment, replacing the existing one.
Configuration Caching
Risksheet caches configuration files using the data revision identifier of the attachment. The cache is automatically invalidated when:- The
risksheet.jsonattachment content changes (new revision) - The template document is updated
- You manually refresh the Risksheet page
Project Properties
In addition to document-level configuration files, Risksheet uses Polarion project properties for project-wide settings. These are managed through Polarion Administration, not throughrisksheet.json:
| Property | Default | Purpose |
|---|---|---|
| Template path | Risks/Risk Specification | Folder paths where new risk documents can be created |
| Tool name | Risksheet | Display name shown in navigation and UI labels |
| Suggester result limit | 20 | Maximum autocomplete suggestions shown |
| Fuzzy search | Enabled | Whether fuzzy matching is used in item search |
| Wildcard search | Enabled | Whether wildcard characters are supported in search |
Troubleshooting
- “Error while reading configuration” — The
risksheet.jsonfile contains invalid JSON. Download it and validate with a JSON linter. - Different users see different configurations — Verify that all users have read access to the project where the template configuration is stored.
- Configuration appears inconsistent across sessions — Clear your browser cache and confirm you are not viewing a cached historical revision.
Verification
After identifying your configuration source, you should now see eitherrisksheet.json in the document’s attachments (document-specific config) or a templateName value in the Risksheet metadata (template-inherited config).
See Also
- Use the Configuration Editor — modify configuration visually
- Set Up Global Templates — create reusable configurations
- Override Template Configuration — detach from a template
- Configure Template Paths — control where documents are created
Sources
Sources
KB ArticlesSupport TicketsSource Code
DocumentConfigProvider.javaPdfExportConfigurationService.javaRisksheetViewServlet.javaAppConfigParser.tsPolarionAppConfigManager.java