Setting Calendar Properties
Administrators can customize the calendar using the following properties. Some properties are set for the system calendar, while other properties can be set specific to a context plan.
For information on using the xconfmanager utility to set the
wt.properties file, see
About the xconfmanager Utility.
Allow Users to Delegate Tasks and Personalize Nonworking Days
You can grant users the ability to delegate tasks and designate their own nonworking days (such as vacation days).
Using the xconfmanager utility, set the following property to false in the wt.properties file:
wt.calendar.calculateDefaults=false
|
The start and end time for a delegated task reflect user-preferred time zones rather than the system-set time zone. This behavior is controlled by a property.
|
Expose the Organization Tab
By default, the Organization tab is does not appear in the Delegate and Delegate Indefinitely windows. To allow users the option of delegating tasks to organizations, set the following property to true in the wt.properties file:
wt.clients.calendar.delegate.display_org_tab=true
Define Work Week
By default, the system calendar recognizes Saturday and Sunday as weekly nonworking days. To specify different days, set the following property in the wt.properties file:
wt.calendar.nonWorkDaysOfTheWeek
To set this property, use a value of 1–7, with 1 being Sunday (the first day of the week) and 7 being Saturday (the seventh day of the week). The default value for this property is 1,7 (Saturday and Sunday).
In order for changes to take effect, click Reset All in the Calendar Management utility and restart the Method Server.
|
To set this property, wt.calendar.calculateDefaults must be set to false.
|
Designate the Number of Working Hours in the Week
Use the following properties to specify the number of working hours in a week that are unique to a specific project, program, or product plan.
• To set the hour at which the work day starts:
com.ptc.projectmanagement.plannable.WorkingCalendarConfig.DAY_START
The default value is 8.
• To set the hour at which the work day ends:
com.ptc.projectmanagement.plannable.WorkingCalendarConfig.DAY_END
The default value is 17.
• To set the hour at which the midday break starts:
com.ptc.projectmanagement.plannable.WorkingCalendarConfig.LUNCH_START
The default value is 12.
• To set the number of hours allotted to the midday break:
com.ptc.projectmanagement.plannable.WorkingCalendarConfig.LUNCH_BREAK_DURATION
The default value is 1.
Daily work duration is calculated as [DAY_END - DAY_START - LUNCH_BREAK_DURATION =TOTAL WORK DURATION].
These changes do not affect the system calendar, and only affect how the duration of plan objects (such as an activity) is calculated.
|
If you make changes to the Windchill system calendar that affect a project plan, you must manually refresh the plan to reflect these changes. Navigate to the plan information page and select > .
Windchill system calendar changes are not reflected in newly created project plans until you restart the method server or perform the Reschedule Plan action at least once.
|