Previous Topic: schedConfig Macro—Configure Schedule

Next Topic: schedGroup Macro—Specify an Event Group

schedAttr Macro—Specify a Stored Attribute

The schedAttr macro specifies an attribute stored for each item selected for the list. Stored attributes are available for hover information on the monthly view, for the detailed or summary information in views other than the monthly view, and in the setSchedEvents() JavaScript function. The following values are valid macro arguments:

attr=xxxx

(Required) Specifies an attribute from the object on the schedule, such as a change order or Knowledge Document. Dotted attributes are permitted. The keyword attribute name CInn can be used on the Change Calendar to specify that first nn CIs associated with the change order are included with the information stored.

Note: This argument is the only required argument for the schedAttr macro.

attrRef=.COMMON_NAME|xxxx

Stores the attribute of the referenced table stored for an SREL attribute (ignored for non-SREL attributes). The attribute name specified must be prefixed with a dot.

Default: .COMMON_NAME

label=

Displays a label for the attribute on the n-day view.

Default: the Majic DISPLAY_NAME of the attribute

ident=1|0

Specifies whether the attribute is an identifier for the object (such as a reference number of a change order). Identifier attributes are displayed without a label in front of the group name in hover information and the n-day view.

Default: 0

detail=1|0

Specifies whether the attribute is included in the detail information shown on views other than the monthly view. Detail information is the information shown when the Summary Only check box on the view is not selected.

Default: 1

hoverInfo=1|0

Specifies whether the attribute is included in the hover information pop-up displayed on the monthly view when the mouse pointer hovers over a group, or the user presses Alt+Right Arrow when focus is on the group.

Default: 0

summary=1|0

Specifies whether the attribute is included in the detail information shown on views other than the monthly view. Detail information is the information shown when the Summary Only check box on the view is not selected.

Default: 0

Note: CA SDM displays attributes in summary, detail, or hover information in the same order as their schedAttr macros.