7.1.10 Attribute Scopes and Availability to Templates

You assign a scope of Component, Report, or Report Group to each custom attribute.

The scope determines the templates in which you can reference its value. The table below lists which templates can use attributes of each scope.

Table 7-1 Attribute Scopes and Availability in Templates

Scope Available in Templates
Component Partial
Report Partial, Report Row, Report Body, Report Group, Report Container
Report Group Report Group

The figure below shows the custom attributes of a Grouped Name/Value Pairs template component, with attributes of each scope type. The Name and Value attributes are Component-scoped. The Title attribute is Report-scoped, while Group Name and Group ID are scoped to the Report Group.

Figure 7-14 Attributes of Different Scopes in Grouped Name/Value Pairs Component