about us      downloads      documentation      contact      home 
 products
 antHR
 workflow studio
 technical toolkits
 content entry
 workflow
 security
 hierarchy
 concepts
 how tos
 reference
 FAQs
previous: Configuring fields further

How to: Defining content definitions - Repeats and groups

  Step 1 : Summary
  Step 2 : Create
  Step 3 : Add fields
  Step 4 : Configuring fields further
  Step 5 : Repeats and groups

Content definitions - (page 5 of 5)

Level: basic

Content definitions support groups or repeating structures. This allows a group of fields to be repeated multiple times. For example, a user might have multiple phone numbers or an order might have several products and quantities.
In order to make a group, right click on the "Fields" panel. Select "New group" and call this group "TelephoneNumbers".
Right click on the node called "TelephoneNumbers" and select "New child field ...". This adds a field in to the group. Click the test button, to see a group in action.
Groups consist:
  Label: label to display above the group;
  Hint: Help text for the entire group;
  Minimum occurences: Specifies the minimum number of repeats of this group;
  Maximum occurences: Specifies the maximum number of repeats of this group (-1 indicates no maximum)
  Foreign key: if not empty specifies the foreign key to map the group table to the parent table, see here for more information;




Did you find this article helpful? Comments on this page are welcome and can only help us improve the quality of our documentation.
© Ant Organisation Ltd, 2003