Adding a field group list to your data model

Add a field group list to your data model to store the values of a list of related fields in a page list data structure. For example, you can capture a list of names and addresses from your work history in the Previous Employers field group list.

  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 (list) 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 group list are stored in a page list property in the [ Your organization ]-[ Your application name ]-Data-[ Repeating field-group name ] class.