Previous Topic: priMatrixNext Topic: schedConfig


schedAttr

The schedAttr macro specifies an attribute included on a schedule form, either the change schedule (list_chgsched_config.htmpl) or the knowledge schedule (list_kdsched_config.htmpl). You define a schedule form with the schedConfig, schedAttr, and schedGroup macros. For example:

<PDM_MACRO name=schedConfig. . .>
<PDM_MACRO name=schedAttr . .>
<PDM_MACRO name=schedAttr . .>
. . . 
<PDM_MACRO name=schedGroup . .>
<PDM_MACRO name=schedGroup . .>
. . . 

This macro has the following properties:

attr=attributeName

(Required) Specifies the name of the attribute associated with the control.

attrRef=.COMMON_NAME|attributeName

Specifies the attribute in the table referenced by an SREL attribute that should be shown on the schedule.

detail=0|1

Specifies whether to include the attribute in the detailed n-day view.

fmtfunc=none|function

Specifies the name of a JavaScript function that formats the field for display. The function is passed a single argument containing the value of the attribute, and must return a string that is displayed on the form.

hoverInfo=0|1

Specifies whether to include the attribute in the monthly view info pop-up.

ident=0|1

Specifies whether to include the group name on the n-day view.

label=0|string|$args.&{attr].DISPLAY_NAME

Specifies a label for the attribute. A value of zero signifies no label; the default is the display name of the attribute.

summary=0|1

Specifies whether to include the attribute in the summary n-day view.