Display Rich Text Fields (Read-Only)
Use theserverRender property with Polarion’s rendering API to display rich text content including text, formatting, and images:
| Property | Value | Purpose |
|---|---|---|
bindings | task.$item | References the entire linked work item object |
serverRender | Velocity script | Executes server-side rendering of rich text content |
readOnly | true | Rich text fields displayed via serverRender are always read-only |
Rendering API Methods
Velocity Rendering Chain:- Formatted text (bold, italic, lists)
- Embedded images with proper dimensions
- Clickable hyperlinks
- Tables and structured content
Understanding Read-Only Limitation
RICKSHEET has limited support for editing rich text fields directly in the grid: Limitation: When you edit rich text field content in RISKSHEET:- Line breaks may be lost
- Formatting may be stripped
- Images may disappear
- Content becomes “bunched up”
- Open the work item in Polarion’s native editor by clicking the row header
- Edit the rich text field using Polarion’s rich text editor
- Save the work item
- Refresh the RISKSHEET to see updated content
Alternative: Custom Image Selectors
For a better user experience with images, use enum-based work item linking with Velocity script styling instead of direct rich text editing:- Clean dropdown selection interface
- Controlled image dimensions via CSS styling
- Multi-select support for multiple images
- No formatting loss issues
Display Plain Text from Rich Text Fields
To strip formatting and display only plain text content, omit theserverRender property and use column type: "text":
Verification
After configuring rich text columns, you should now see: ✅ Formatted text with proper styling (bold, italic, lists)✅ Embedded images displaying at correct dimensions
✅ Clickable links to other work items or external URLs
✅ Read-only cells that cannot be edited directly in the grid To edit rich text content, click the row header to open the work item in Polarion’s native editor.
See Also
- Render Custom Data — Using serverRender for complex data display
- Rich Text Fields Reference — Complete rich text field specification
- Server Render Columns Reference — serverRender property documentation
- Velocity Templates — Velocity scripting syntax and context
- Custom Renderer Templates — Creating custom rendering functions
- Rich Text Formatting Loss — Troubleshooting formatting issues
- Cell Editing Issues — Common cell editing problems and solutions
Sources
Sources
KB ArticlesSupport TicketsSource Code
CellEditorFormatter.tsGetSetUtil.javarisksheet.jsonPolarionAppConfigManager.javaAppConfig.ts