Configuration Overview
The template path system allows administrators to specify one or more locations where RISKSHEET documents can be created. This is configured through Polarion project administration settings and controls the document creation workflow.Configuration Location
Template paths are configured in Polarion at:Template Path Property
| Property Name | Type | Default | Description |
|---|---|---|---|
nextedy.risksheet.risksheetTemplatePath | string | "Risks/Risk Specification" | Comma-separated list of template document paths where users can create new RISKSHEET documents. Each path follows the format Folder/DocumentName. |
Single Template Path Example
For a simple setup with one template:Risks folder using the Risk Specification template.
Multiple Template Paths Example
For projects that need different templates for different purposes:Risks/Risk Specificationin the Risks folderFMEA Templatein the Assessments folderHARA Templatein the Assessments folder
Global Template Path Configuration
For multi-project setups where you want to share a common template across projects, use the global template path format:Global Template Setup Steps
-
Create Template Project
- Create a dedicated Polarion project (e.g.,
GlobalLibrary) - Configure RISKSHEET in this project
- Create and configure template documents
- Create a dedicated Polarion project (e.g.,
-
Modify Custom Field
- In your template documents, set the custom field
templateDocto typeSTRING - This field stores the cross-project template reference
- In your template documents, set the custom field
-
Reference Templates Across Projects
- In consuming projects, reference the global templates using the format above
- Example:
GlobalLibrary:Risks/Risk Specification
-
Access Configuration
- RISKSHEET automatically loads configuration from the global template when a document is created
- Configuration is inherited through the
templateDocfield reference
Global Template Example: Multi-Project Setup
Template Path Resolution Flow
When a user creates a new RISKSHEET document, the system resolves templates in this order:- Parse
risksheetTemplatePathproperty - For each template path in the list:
- If format includes ProjectId (contains
:) — load from specified project - If format is local path only — load from current project
- If format includes ProjectId (contains
- Create document in target folder
- Apply template (copies structure and attachments)
- Load configuration:
- Check document for
risksheet.jsonattachment - Check templateDoc reference for
risksheet.json - Use built-in default if not found
- Check document for
Template Document Requirements
For a valid RISKSHEET template document:| Requirement | Description | Required |
|---|---|---|
| Document Type | Must be a Polarion LiveDoc document | Yes |
| Folder Location | Accessible path in Polarion folder structure | Yes |
| Configuration File | risksheet.json attachment (optional) | No |
| Initial Structure | Can be empty or pre-configured with sample rows | No |
| Permissions | User must have read access to template document | Yes |
If your template document has
risksheet.json attached, new documents created from this template will automatically inherit that configuration. This is the recommended way to distribute standard configurations across your organization.Path Format Specifications
Local Template Path (Single Project)
Cross-Project Template Path (Global)
Related Configuration Properties
| Property | Purpose | Examples |
|---|---|---|
nextedy.risksheet.templateDoc | Custom field for linking documents to templates | Used internally by RISKSHEET |
nextedy.risksheet.suggestTextFields | Enable autocomplete in text fields | true or false |
nextedy.risksheet.autoCreateDocument | Auto-create documents on page load | true or false |
nextedy.risksheet.defaultTemplatePath | Default template if none specified | Risks/Default Template |
Common Configuration Scenarios
Scenario 1: Single Standard Template
All users create risk documents from one standard template:Scenario 2: Multiple Local Templates
Users can choose between different templates in the same project:Scenario 3: Global Corporate Standard
All projects use templates from a centralized template library:Scenario 4: Project-Specific with Global Fallback
Use project-specific templates when available, fall back to global:Document Creation User Experience
When accessing the RISKSHEET home page and creating a new document:Troubleshooting Template Path Issues
| Issue | Cause | Solution |
|---|---|---|
| ”No templates available” | Path not configured or invalid | Verify nextedy.risksheet.risksheetTemplatePath in project properties |
| ”Template not found” | Folder or document name doesn’t exist | Check exact spelling and case in Polarion |
| ”Access denied” | No read permission to template | Grant read access to the template document |
| ”Cross-project template fails” | ProjectId incorrect or doesn’t exist | Verify ProjectId format: ProjectId:Folder/Document |
| ”Configuration not loaded” | risksheet.json not attached to template | Attach configuration file to template document |
Validation Rules
Users creating documents must have:
- Read access to the template document
- Write access to the target folder
- RISKSHEET usage permission (if configured)
Related Documentation
- Configuration Hierarchy - Understanding how configuration is loaded
- Set Up Global Templates - How-to guide for global template setup
- Configure Template Paths - Step-by-step configuration guide
- Multi-Project Setup - Configuring RISKSHEET across multiple projects
- Risksheet.json Format - Complete configuration file reference
Sources
Sources
KB Articles
- Setup a global Risksheet template
- Document NOT created pop-up message
- Adjusting Risksheet configuration
AppConfig.tsDocumentConfigProvider.javaShowConfigurationCommand.tsPdfExportConfigurationService.javaAppConfigParser.ts