Automatically set to text when serverRender is defined
Editability
Always readOnly: true (set automatically)
Rendering engine
Apache Velocity on the Polarion server
Output format
HTML rendered in cell; plain text fallback for exports
Binding
Optional; used as column id if id is not specified
Performance
Evaluated per row on each grid load; complex scripts increase load time
When serverRender is set on a column definition, the configuration manager automatically forces the column type to text and sets readOnly to true. You do not need to specify these properties manually. This behavior is enforced server-side and cannot be overridden.
Rich text fields (description, custom HTML fields) display as plain text in standard columns. Use serverRender to render the full HTML including clickable hyperlinks, text formatting, and colors:
Rich text fields that contain embedded images (such as symbol libraries, diagrams, or screenshots) render inline in the cell using this pattern. If images appear truncated, you can control the display size via CSS in the Top Panel template. When using images from rich text fields, ensure the column width is sufficient to display the image content legibly.
For multi-level linked work items (Level 0 -> Level 1 -> Level 2), where you need to traverse intermediate links to display items that are not directly linked to the current row:
Server render columns displaying indirectly linked work items are always read-only. For editable multi-level linking, consider the upstreamChains configuration property (format: fromType-linkRole-toType), which automatically creates transitive link chains. Note that upstreamChains only creates links and never deletes them.
To sort Risksheet items by their LiveDoc outline number (so that 1.2.10 sorts after 1.2.2), create a server render column that zero-pads each segment of the outline number, then reference the column in the sortBy property:
When defining server render columns that reference configuration properties across multiple projects, use $config Velocity variables in the typeProperties section. Space-separated project IDs can be referenced with separate $config lookups:
When using configuration properties to define multi-project upstream columns, empty property values after the = sign cause errors. The alternative project must use a direct project ID, not another configuration property variable. Always ensure configuration property values are non-empty.
Server render columns produce HTML in the interactive grid. During exports, this HTML is converted to plain text:
Export Type
Conversion Logic
Result
Excel
HTML tags are stripped using text extraction. </li> tags are converted to newlines before stripping, preserving list structure.
Plain text with line breaks for lists
PDF
The mainSheetCellFormatter strips HTML content to plain text. Server-rendered HTML is processed through the same formatter as other cell types.
Plain text in PDF cells
The exact HTML-to-text conversion depends on the complexity of your Velocity output. Nested tables, complex CSS, or JavaScript in server render output may not convert cleanly to plain text exports. Test your specific scripts with both Excel and PDF exports.
When exporting to PDF via custom pdfscript.js, server render columns are handled by the renderDataCell function, which detects columns with serverRender defined and applies HTML-to-text stripping. The emptyPlaceholder property (configurable in custom export scripts) controls what text appears for null or empty server render output in the PDF.
Mutually exclusive. Do not combine serverRender and formula on the same column. formula runs client-side JavaScript; serverRender runs server-side Velocity. If both are set, serverRender takes precedence (the column type is forced to text).
binding
Optional. When serverRender is set, the column does not bind to a data field for display. If binding is provided, it is used only as the default column id when id is not explicitly specified.
cellDecorators
Compatible. Cell decorators can be applied to server render columns. The decorator function receives the rendered text value in info.value and the cell DOM element in info.cell.
sortBy
Compatible. Server render column IDs can be referenced in the global sortBy array for default sort ordering. Sorting uses the text output of the Velocity expression.
views
Compatible. Server render columns participate in saved view column visibility toggling just like any other column type.
headerGroup
Compatible. Server render columns can be grouped under header groups and support collapseTo behavior.