<fields> <!-- fields belonging to Person -->
<fields> <!-- fields belong to Location -->
Here, the group field Location contains the nested text fields
Department and
Office. In a query, the values of both nested fields are returned when the group field
Location is requested. Below is another example consisting of link fields:
<field name="Sender" type="LINK" table="
Participant" inverse="MessageAsSender"/>
<field name="ExternalRecipients" type="link" table="
Participant" inverse="MessageAsExternalRecipient"/>
<field name="InternalRecipients" type="link" table="
Participant" inverse="MessageAsInternalRecipient"/>
In this example, the group field Participants contains a link called
Sender and a nested group called
Recipients, which has two additional links
ExternalRecipients and
InternalRecipients. The values of all three link fields can be retrieved by requesting the
Participants in a query.