Overview
ThetemplateDoc custom field determines which template document provides the configuration for your Risksheet. This is useful for:
- Reusing configuration across multiple documents
- Centralizing configuration management
- Setting up global templates across projects
- Maintaining consistent column layouts and formulas
Configuration Hierarchy
Risksheet configuration is loaded in the following priority order:templateDoc field, you’re pointing to location #2 in this hierarchy.
Step 1: Configure the Custom Field
First, ensure thetemplateDoc custom field exists on your Risksheet document:
- Navigate to Administration > Work Items > Custom Fields
- Find or create a custom field named
templateDoc - For project-level templates: Set type to Enum (Document)
- For global/cross-project templates: Set type to String
Step 2: Set the Template Path
For Project-Level Templates
- Open your Risksheet document in Edit mode
- Locate the templateDoc custom field
- Select the template document from the dropdown
- Save the document
For Global/Cross-Project Templates
- Open your Risksheet document in Edit mode
- Locate the templateDoc custom field (must be String type)
- Enter the path in the format:
PROJECTID:Folder/DocumentName- Example:
GlobalLibrary:Risks/Risk Specification
- Example:
- Save the document
Step 3: Verify the Template Path
- Open your Risksheet document
- Navigate to Menu > Configuration > Edit Risksheet Configuration
- The Configuration Editor opens in a new tab
- Check the banner at the top of the editor
- “Configuration loaded from template” if using a template
- The template name and path displayed
- “Configuration attached to this document” if using document-specific config
Common Pitfalls
Tips
Verification
You should now see:- ✅ The template path displayed in the Configuration Editor banner
- ✅ Columns, formulas, and styling matching the template configuration
- ✅ Changes to the template propagate to all documents using that template path
risksheet.json and refreshing a consuming document — the change should appear automatically.
See Also
- Find Configuration Files - Understand where configuration is stored
- Set Up Global Templates - Complete setup guide for cross-project templates
- Override Template Configuration - Switch from template to document-specific config
- Use the Configuration Editor - How to edit configuration files
- Configuration Hierarchy - Deep dive into configuration precedence rules
Sources
Sources
KB Articles
- Adjusting Risksheet configuration
- Risksheet Configuration Properties
- Setup a global Risksheet template
DocumentConfigProvider.javaAppConfig.tsRisksheetProjectProperties.javaPdfExportConfigurationService.javaShowConfigurationCommand.ts