The schedGroup macro specifies the name and color coding of a group of items. The monthly view aggregates all items in a group into a single event. Views other than the monthly show individual items in the format for the group to which they belong. The following optional values are valid macro arguments:
(Required) Specifes the name of the group. The macro automatically assigns a number to the group and assigns the number to a JavaScript variable with a name of the form schedGroup_xxx, where xxx is the name of the group. This variable can be used in the setSchedEvents() JavaScript function to create an event belonging to the group.
Note: This argument is the only required argument for the schedGroup macro.
Specifies a label for the group. If specified, the label is displayed in all views.
Displays a description of the group for the legend that appears at the bottom of the schedule. Groups appear in the legend if at least one example of the group exists in the current view. Specifying 0 causes the group always to be excluded from the legend.
Default: 0
Specifies the color of text in items of this group. You can specify color in CSS format, either a valid web color or a hexadecimal value preceded by a pound sign.
Example: Enter either "#FF0000" or "red" for red.
Default: black
Specifies the background color of items of this group. You can specify bgcolor in CSS format, either a valid web color or a hexadecimal value preceded by a pound sign.
Example: Enter either "#FF000" or "red" for red.
Default: white.
Specifies the style of text of this group in the normal, bold, or italic style.
Default: normal
You edit PDM_MACRO statements in list_chgsched_config.htmpl to modify colors, labels, legends, and icons for change windows.
Note: If you use schedGroup macros to change the formatting of windows on the Change Calendar, you must also update schedule.css if you want the formatting to be consistent with the Change Scheduler.
To configure change windows
You can locate this file in the following directory:
$NX_ROOT\bopcfg\www\htmpl\web\analyst\
For maintenance windows:
<PDM_MACRO NAME=schedGroup grpname=maintWindow
bgcolor=lightgreen label="Maintenance" legend="Maintenance Window" icon= "confirmation_12.png">
For blackout windows:
<PDM_MACRO NAME=schedGroup grpname=blackoutWindow style=italic color=white
bgcolor=black label="Blackout" legend="Blackout Window" icon= "warning_12.png">
Specifies the background color of the window.
Specifies the window label as Blackout or Maintenance.
Specifies the text of the legend as it appears on the Change Calendar.
Specifies an optional URL to a 12x12 pixel web graphic.
This icon displays with a change order or group on the Change Calendar if the change order lies completely within a maintenance window or overlaps a blackout window.
The change windows are configured.
Copyright © 2012 CA. All rights reserved. | Tell Technical Publications how we can improve this information |