Step 1: Mark Non-Working Days in Polarion
Before configuring the Gantt, define your holidays and non-working days in the Polarion working calendar:- Navigate to Administration > Working Calendar in your Polarion project
- Select the dates you want to mark as non-working (holidays, company closures)
- Save the calendar changes
Step 2: Enable the Working Calendar in the Gantt Widget
Open the Gantt widget parameters and locate the Working Calendars section:- Set Use Working Calendar to
Yes
The Working Calendars settings are interdependent. Setting Use Working Calendar to
Yes reveals the Load User Calendars option. Enabling that reveals Load Team Assignments. Each toggle progressively adds more calendar detail.Step 3: Load Holiday Data via Gantt Config Script
To load the non-working days into the Gantt view, add the following to the widget parameters under Advanced > Gantt Config Script:.loadNotWorkingDays(year) call loads holiday data for that specific year.
Step 4: Configure Year Range in Widget Parameters
For a more permanent configuration, set the year range in the Working Calendars widget parameters:| Parameter | Description | Recommended Value |
|---|---|---|
| Next Years to Load | Number of future years of calendar data to load | 1-2 |
| Previous Years to Load | Number of past years of calendar data to load | 1 |
How Non-Working Days Appear
Once configured, non-working days are reflected in the Gantt in several ways:- Timeline cell highlighting — off-day cells receive a visual highlight distinguishing them from working days
- Resource view — grey markers appear in the resource view for days where a user is unavailable
- Duration calculations — when auto-scheduling is enabled, non-working days are skipped when computing task durations
Verification
You should now see:- Non-working days highlighted in the Gantt chart timeline
- Grey markers in the resource view on holiday dates
- Task duration calculations skipping non-working days when auto-scheduling is active
See Also
- Load User Calendars
- Set Up Work Item Calendars
- Use Calendars from Another Project
- Highlight Off-Days in the Timeline
- Troubleshooting Calendar Integration Issues
Sources
Sources
KB Articles
- Load Holidays and other non-working days from Polarion calendar
- How to load User calendars into Gantt
- Work Item Calendar
prod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/working-calendars/csv-calendar.cy.tsprod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/working-calendars/ganttOffDaysCellBackground.cy.tsprod-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/impl/CalendarBuilder.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/GanttWidgetDependenciesProcessor.java