Item Script API (Task and Work Item Objects)
Access and modify task properties and Polarion work item data during server-side data loading. Control colors, labels, progress, and field values per work item.
Gantt Config Script API
Configure client-side Gantt behavior including templates, event handlers, drag settings, and visual properties. Runs once when the chart initializes.
Marker Factory API
Add vertical milestone markers to the Gantt timeline. Create markers from Polarion plans, work items, or custom dates with configurable labels and colors.
Page Parameters API
Define user-input parameters accessible in the maximized Gantt view toolbar. Use parameter values in Item Scripts for dynamic filtering and behavior.
Velocity Context Variables
Access Polarion server-side variables in script pre-processing. Use project, user, and service objects to generate dynamic script content.
Related Pages
- Widget Parameters — configure scripts via widget parameter fields
- Configuration Properties — global administration properties
- Item Color Legend — default color behavior that scripts can override
Sources
Sources
KB ArticlesSupport TicketsSource Code
prod-gantt-src/com.nextedy.polarion.gantt.client/src/js/scripts.jsprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/util/WidgetPropertiesAccess.javaprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/nextedy.jsprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/types/TypesConfig.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/ScriptEvaluator.java