relation-type-group
Defines a relation type group. A relation type group is a convenience element that enables you to:
- Re-use relation type definitions
-
Instead of adding many identical relation type definitions (
relation-type
elements) to different panels you can create a relation type group containing the relation type definition, and then just add references (relation-type-group
elements) to panels. - Group related relation type definitions
-
You can then add whole sets of relevant relation type definitions to a panel with a single
ref-relation-type-group
element.
Syntax
<relation-type-group name="NCName" > <relation-type>...</relation-type>+ </relation-type-group>
Examples
<relation-type-group name="attachments"> <relation-type name="images"> <ui:label>Pictures</ui:label> </relation-type> <relation-type name="stories"> <ui:label>Stories</ui:label> </relation-type> </relation-type-group>
Attributes
name="
NCName"
-
The name of the
relation-type-group
element.