Provides a way of associating related data items to each other and to certain other items.
There are two ways of using this option. In the first case, it enables you to create a group of data items, called a datagroup. In the second case, this option enables you to reference such a datagroup from button, action, or cell items.
This option is most often used to group file enclosures. For example, you can use this feature to create folders with which users can organize their enclosures. Each enclosed file can belong to several datagroups, and each datagroup can contain several enclosed files.
<datagroup>
<datagroupref>datagroup reference1</datagroupref>
...
<datagroupref>datagroup referencen</datagroupref>
</datagroup>
Parameter | Type | Description |
---|---|---|
datagroup reference | string | Identifies a data group. This can done in one of two formats:
|
action, button, cell, data
If this sample were part of a data item definition, it would mean the data item belonged to the datagroups Business_Letters, Personal_Letters, and Form_Letters.
If this sample were part of an action, button, or cell item, it would mean the user could store the enclosure in one of the three datagroups.
<datagroup>
<datagroupref>Business_Letters</datagroupref>
<datagroupref>Personal_Letters</datagroupref>
<datagroupref>Form_Letters</datagroupref>
</datagroup>
In the following example, the Enclose button references the datagroups Business_Letters and Personal_Letters. As a result, when users click this button, they can choose to place the file they are enclosing into one of these folders. Because the datagroup Form_Letters is not specified in the datagroup reference, it is not available to “BUTTON1”.
<button sid="BUTTON1">
<value>Click to Enclose File</value>
<type>enclose</type>
<datagroup>
<datagroupref>Business_Letters</datagroupref>
<datagroupref>Personal_Letters</datagroupref>
</datagroup>
</button>