Prerequisites
Before setting up global templates, ensure you have:- Project administrator privileges in the template project
- Access permissions to all projects where the template will be used
- The Risksheet extension installed in Polarion
Create the Global Template Project
- Create a dedicated Polarion project to hold your global templates (e.g., “GlobalLibrary” or “RisksheetTemplates”)
- Navigate to Administration > Documents & Pages > Document Custom Fields
-
Locate the templateDoc custom field and change its type from Enum:Document to String:
!!! tip “Why String Type?” Using String type allows cross-project template references. The format
PROJECTID:TEMPLATE_PATHenables referencing templates from other projects, while Enum:Document restricts selection to the current project only. - Create a Risksheet document in this project with your desired configuration
-
Set the templateDoc property of your template document using the format:
Example:
GlobalLibrary:Risks/Risk Specification
Configure Projects to Use Global Templates
For each project that should use the global template:- Navigate to Administration > Documents & Pages > Document Custom Fields
- Change the templateDoc custom field type to String (same as template project)
- Open Administration > Configuration Properties
-
Add or update the template path property:
!!! tip “Multiple Templates” You can specify multiple global templates as a comma-separated list:
Template Hierarchy
Global templates follow a three-tier configuration hierarchy:risksheet.json attachment.
Create a New Risksheet from Global Template
- Navigate to any project configured to use the global template
- Open the Risksheet topic in the sidebar
- Click ➕ New Blank Document
-
Select your global template from the dropdown menu:
- Enter document details and click Create
- Open the new document in Risksheet
- Verify the configuration by clicking Menu > Configuration > Edit Risksheet Configuration You should see an indicator showing the configuration is loaded from the global template project.
Override Global Configuration for Specific Documents
If a specific document needs different configuration:- Open the document in Risksheet
- Click Menu > Configuration > Edit Risksheet Configuration
- In the configuration editor, enable Override Template
- Make your changes and save
risksheet.json attachment that takes precedence over the global template.
Common Pitfalls
Verification
After setup, verify the global template works correctly:- Create a test Risksheet document in a configured project
- Open it in Risksheet
- Click Menu > Configuration > Edit Risksheet Configuration
- Check the configuration source indicator shows your global template project
- Verify columns, formulas, and styling match your template configuration
GlobalLibrary:Risks/Risk Specification (or your configured path).
See Also
- Find Configuration Files - Understand the configuration hierarchy
- Use the Configuration Editor - Edit configuration settings
- Override Template Configuration - Create document-specific settings
- Configure Multi-Project Setup - Manage Risksheets across projects
- Configuration Hierarchy - Understand template inheritance
Sources
Sources
KB Articles
- How to install Risksheet into existing project (Drive pilot)
- Setup a global Risksheet template
- Adjusting Risksheet configuration
- Risksheet Configuration Properties
AppConfig.tsDocumentConfigProvider.javaOpenHelpCommand.tsRisksheetViewServlet.javaPdfExportConfigurationService.java