Prerequisites
- Access to the Polarion server file system (to place the CSV file)
- Access to Administration > Configuration Properties
Step 1: Prepare the CSV File
Create a semicolon-delimited CSV file with the following column order:| Column | Description | Example |
|---|---|---|
PROJECT_ID | Polarion project ID | MyProject |
USER_ID | Polarion user ID | jsmith |
YEAR | Calendar year | 2025 |
START | Start day of year (1-366) | 60 |
END | End day of year (1-366) | 90 |
CAPACITY | Working hours per day | 8 |
CAPACITY to 0 for non-working periods.
Step 2: Upload the CSV File
Place the file at the following path on the Polarion server:Step 3: Enable CSV Calendar Loading
Add the following property under Administration > Configuration Properties:Step 4: Enable Working Calendars in the Widget
Open the Gantt widget parameters and navigate to Working Calendars:- Set Use Working Calendar to Yes
- Set Load User Calendars to Yes
Step 5: Enable Calendar Caching (Recommended)
For improved performance on repeated page loads, enable server-side caching:CSV File Example
- jsmith works 8 hours per day, except days 121-125 (a vacation week with 0 hours)
- mdoe works 6 hours per day all year
Verify
You should now see grey allocation markers in the resource view on days where the CSV defines zero capacity for a user. Days with reduced hours display the correct capacity values in the resource markers.See Also
- Set Up Work Item Calendars
- Use Calendars from Another Project
- Customize Working Hours per Resource
- Set Up the Resource View
Sources
Sources
KB ArticlesSupport TicketsSource Code
prod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/working-calendars/csv-calendar.cy.tsprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/CsvCalendarFactory.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/GanttWidgetRenderer.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/WorkingCalendarConfigStore.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/ExtendedCalendarFactory.java