Calendars and schedules

Specific applications within the platform generate graphical calendar displays based on Schedule Pages.

These Schedule Pages can be displayed in a daily, weekly, or monthly view. Currently, the applications using Schedule Pages include:
  • Project Management
  • Maintenance Schedules
  • Group On-Call Rotation
  • Field Service Management

Schedule Pages are records that contain the scripts that determine the functionality of the graphical display. Because of the heavy degree of scripting involved in a schedule page, most instances should use the default schedule pages in the base platform. The schedule page uses a URL with a series of parameters attached to generate the graphical display.

Calendar content is controlled by a Schedule Page (cmn_schedule_page) record. To access Schedule Pages, navigate to System Scheduler > Schedules > Schedule Pages. The Schedule Pages form provides the following fields:

The Schedule Page record contains the following fields:
Field Field Type Description
Name String General name that is used to identity the current schedule page.
Schedule type String The schedule type is a string that is used to uniquely identity the schedule page via the "sysparm_page_schedule_type" URI parameter. For example, a schedule page could be accessed as follows:

/show_schedule_page.do?sysparm_page_schedule_type=gantt_chart&sysparm_timeline_task_id=d530bf907f0000015ce594fd929cf6a4

Alternatively, the schedule page can also be accessed by setting the "sysparm_page_sys_id" URI parameter to that of the unique 32 character hexadecimal system identifier of the schedule page.

View Type Choice Each view type displays different field combinations. There are two options available:
Description String General description that provides additional information about the current schedule page. This field is not necessary.
Init function name String
Note: This functionality is only used by Calendar type schedule pages.
The init function name specifies the name of the JavaScript function to call inside the Client script function for calendar type schedule pages.
HTML String
Note: This functionality is only used by Calendar type schedule pages.
The HTML field is a scriptable section that is parsed by Jelly and injected into the display page prior to the rest of the calendar. It can be used to pass in variables from the server and define extra fields are necessary.
Client script String The client script is a scriptable section that allows for configuring options of the schedule page display. The API is different depending on the schedule page view type and is discussed below.
Server AJAX processor String
Note: This functionality is only used by Calendar type schedule pages.
The Server AJAX processor is specific to calendar type schedule pages that is used to return a set of schedule items and spans to be displayed.