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.
-
Access the data model for a data object or a case type, based on how the field will be
used in your application.
- To view fields in a data object:
- In the navigation panel of Dev Studio, click Data types to display the Data Explorer.
- Click the name of a data object.
- Click the Data model tab.
- To view fields in a case type:
- In the navigation panel of Dev Studio, click Cases to display the Case Type Explorer.
- Click the name of a case type.
- Click the Data model tab.
- Optional: To display fields that are inherited by your application,
click Show reusable fields.
-
Click
+ Add field.
-
In the
Name
column, enter a label for the field. You can modify
the identifier that is automatically generated in the
ID
column.
-
In the
Type
column, select
Field group
(list)
from the list of options.
-
In the Options column, select a data object from the
autocomplete field.
Alternatively, you can create a new data type by clicking
New.
-
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.