Skip to main content

Velocity Templates

Velocity template syntax for defining server-rendered property expressions, including template patterns and error handling.

Context Variables

Variables available in the Velocity evaluation context: $item, $module, $tx, $context, and $wi.

Polarion Services

Platform services injected into Velocity templates: $trackerService, $txService, $repositoryService, and $securityService.

JavaScript Functions

Client-side function expressions and dynamic value resolution using $context references.
Server-rendered properties execute Velocity templates on the Polarion server during data retrieval. The computed values are returned as read-only fields in the query response. Client-side rendering uses column formatters and display properties configured in the sheet configuration YAML.
diagram
Source Code
  • Property.java
  • MetadataTest.java
  • DataPropertyFactory.java
  • ServerRendererTest.java