Working Calendar Widget Parameters
| Name | Type | Default | Description |
|---|---|---|---|
Use Working Calendar | Boolean | false | Master toggle that enables calendar-aware scheduling. When enabled, the Gantt respects non-working days and hours when calculating task durations. When disabled, all days count equally. |
Load User Calendars | Boolean | false | Loads personal calendar work items assigned to each resource. Each assignee must have a Calendar work item with their user ID. Only visible when Use Working Calendar is true. |
Load Team Assignments | Boolean | false | Loads team assignment capacity records to apply partial availability multipliers. Only visible when both Use Working Calendar and Load User Calendars are true. |
Next Years to Load | Integer | See application | Number of future years to pre-compute working calendar data for. Higher values ensure calendar data is available for long-range views but increase startup time. |
Previous Years to Load | Integer | See application | Number of past years to pre-compute working calendar data for. Useful for tracking long-running or past tasks. |
Cache Working Calendars | Boolean | false | Enables server-side caching of computed working calendar data to speed up repeated Gantt loads. |
Three-Level Calendar Cascade
The working calendar system resolves capacity through three levels, each overriding the previous:Progressive Disclosure
The working calendar parameters are interdependent. The widget parameter editor reveals options progressively:- Enable Use Working Calendar — unlocks
Load User Calendars,Next Years to Load,Previous Years to Load, andCache Working Calendars. - Enable Load User Calendars — unlocks
Load Team Assignments. - Enable Load Team Assignments — loads team capacity data.
Administration Properties
To use work item calendars from another Polarion project, configure these properties under Administration > Configuration Properties:| Property | Type | Description |
|---|---|---|
nextedy.gantt.workitemCalendar.projectId | String | The Polarion project ID of the project containing the Calendar work items. |
nextedy.gantt.workitemCalendar.globalID | String | The work item ID of the calendar-type work item used as the global calendar. |
Calendar Cache
WhenCache Working Calendars is enabled:
- The server caches computed calendar data between page loads.
- Repeated Gantt loads reuse cached calendar data, reducing load time.
- After calendar changes (new holidays, modified working hours), you must clear the cache. Use the Clear Calendar Cache toolbar button, which appears when caching is active.
Resource Load and Calendars
Working calendars directly affect resource load calculations in the resource view:- Without calendars: All days are working days with equal capacity. Resource load is a simple task count or duration sum.
- With global calendar: Non-working days (weekends, holidays) are excluded from capacity. Resource markers reflect actual working days.
- With user calendars: Each user’s personal schedule exceptions (vacation, part-time hours) reduce their available capacity individually.
- With team assignments: Team allocation percentages further adjust each user’s effective hours.
Configuration Example
To enable calendar-aware scheduling with user calendars:- Open Widget Properties for the Gantt widget.
- In the Working Calendars section:
- Set Use Working Calendar to
Yes. - Set Load User Calendars to
Yes. - Set Next Years to Load to
1. - Set Previous Years to Load to
1.
- Set Use Working Calendar to
- Optionally enable Cache Working Calendars for faster repeated loads.
- In Administration > Configuration Properties, add:
- Save the widget parameters.
Related Pages
- Resource View Parameters — resource allocation display configuration
- Calendar and Working Hours Properties — server-side calendar administration
- Team and Resource Properties — team assignment configuration
Sources
Sources
KB Articles
- Plans Gantt Widget Parameters
- Use WI Calendar for other project for Resource Load management
- How to load User calendars into Gantt
prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/GanttWidgetDependenciesProcessor.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/GanttWidget.javaprod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/Aresource-view/AganttInitialEstimation.cy.tsprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/Config.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/types/TypeConfigWidgetParameters.java