What You Will Achieve
By the end of this tutorial, you will have:- ✅ Opened and navigated the configuration editor
- ✅ Added a custom column to your risksheet
- ✅ Configured basic display properties
- ✅ Saved and tested your configuration changes
- ✅ Understood the relationship between templates and documents
Prerequisites
Before starting this tutorial, ensure you have:- Completed Create Your First Risksheet
- A working RISKSHEET document open in your browser
- Edit permissions for the document in Polarion
- Administrator role in your Polarion project (required for configuration changes)
Configuration changes apply to the entire RISKSHEET document and all users who access it. Template-level changes affect all documents created from that template.
Step 1: Open the Configuration Editor
From your open RISKSHEET document, click the ⚙️ Settings icon in the top toolbar, then select Edit Configuration. What you should see: The configuration editor opens in a new browser tab or window. The editor displays a JSON structure containing your document’s configuration properties.Step 2: Understand the Configuration Structure
The configuration editor shows yourrisksheet.json file with several main sections:
- global — Interface settings (culture, help URLs, refresh behavior)
- headers — Row and column header dimensions
- levels — Hierarchical structure definition
- dataTypes — Risk and task type configuration
- columns — Column definitions (the focus of this tutorial)
- views — Saved view configurations
- reviews — Review workflow settings
columns array contains all visible columns in your risksheet.
Step 3: Add a Custom Text Column
Scroll to thecolumns array in the configuration editor. Click Add Column or manually add a new column object at the end of the array:
id: Unique identifier for this column (must be unique within the document)label: Display name shown in the column headerfield: Maps to the Polarion work item field (usedescriptionfor rich text)width: Column width in pixelseditable: Allows users to edit cells directly in the risksheet
columns array. The JSON syntax should be valid (no red error indicators).
Step 4: Configure Row Header Width
Locate theheaders section and find the rowHeader object. Modify the width property:
"width": 90 to "width": 120 to provide more space for work item IDs and titles in the row header.
What you should see: The width value updates to 120. This change will increase the row header column width when you save.
Step 5: Enable Automatic Refresh on Save
In theglobal section, locate or add the refreshOnSave property:
refreshOnSave to true. This automatically reloads the risksheet after saving changes, ensuring you always see the most current data.
What you should see: The refreshOnSave property set to true in the global configuration.
Step 6: Save the Configuration
Click the Save button at the top of the configuration editor. What you should see: A confirmation message indicating the configuration was saved successfully. The editor may close automatically or remain open depending on your Polarion settings.Step 7: Verify Your Changes
Return to your RISKSHEET document tab and click the 🔄 Refresh button in the toolbar. What you should see:- The row header column width increases to 120 pixels
- A new “Analysis Notes” column appears in your risksheet
- The column is editable (click a cell to verify)
- All existing data remains intact
| Before Configuration | After Configuration | |
|---|---|---|
| Columns | ID, Title, Risk | ID, Title, Risk, Analysis Notes |
| Header width | Narrow | Wider (120px) |
| New column | — | Analysis Notes (editable) |
Step 8: Save Your Work
After adding content to the new column, click the 💾 Save button in the RISKSHEET toolbar. What you should see: BecauserefreshOnSave is enabled, the risksheet automatically refreshes after saving. Your changes persist and are visible to all users with access to the document.
Understanding Template vs. Document Configuration
You just modified the document configuration, which applies only to this specific RISKSHEET document. To apply the same configuration to all new documents:- Navigate to the template document (e.g., “FMEA Template”)
- Open its configuration editor
- Make the same changes
- Save the template
Document-level configuration overrides template-level configuration. For details, see Configuration Hierarchy.
Common Configuration Tasks
Now that you understand the basics, you can explore these common configuration scenarios:| Task | Configuration Property | Guide |
|---|---|---|
| Add dropdown columns | columns[].type = "enum" | Configure Enum Columns |
| Show linked items | columns[].type = "itemlink" | Configure Upstream Traceability Columns |
| Create calculated fields | columns[].formula | Configure Calculated Columns |
| Set up user assignments | columns[].type = "userref" | Add Assignee Column |
| Customize headers | headers.rowHeader.renderer | Configure Row Header Styles |
Next Steps
→ Continue your learning:- Understanding the Interface - Learn about the RISKSHEET UI components
- Add a Basic Column - Detailed guide on column configuration
- Configuration Properties Index - Complete reference of all properties
- Use the Configuration Editor - Advanced editor features
- Set Up Global Templates - Reuse configurations across projects
- Configure Multi-Project Setup - Work with multiple Polarion projects
- Override Template Configuration - Document-specific customizations
Sources
Sources
Source Code
RisksheetViewServlet.javaAppConfig.tsCommandFactory.ts