Adding a field group to your data model

Add a field group to your data model to store the values of a group of related fields in a page data structure. You can then reference this field on a form to collect values from users at run time.

For example, you can capture the first name, last name, and address of a person in the Prospective Client field group.

  1. Access the data model for a data type or a case type, based on how the field will be used in your application.
    • To view fields in a data type:
      1. In the navigation panel of Dev Studio, click Data types to display the Data Explorer.
      2. Click the name of a data type.
      3. Click the Data model tab.
    • To view fields in a case type:
      1. In the navigation panel of Dev Studio, click Cases to display the Case Type Explorer.
      2. Click the name of a case type.
      3. Click the Data model tab.
      4. Optional: To display fields that are inherited by your application, click Show reusable fields.
  2. Click + Add field.
  3. In the Name column, enter a label for the field. You can modify the identifier that is automatically generated in the ID column.
  4. In the Type column, select Field group from the list of options.
  5. In the Options column, select a data type from the autocomplete field.
    Alternatively, you can create a new data type by clicking New.
  6. If you are updating the data model for a case type, click Save.
Result: Values from each field are stored in a page property of class [ Your organization ]-[ Your application name ]-Data-[ Field group name ].