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.
-
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:
- In the navigation panel of Dev Studio, click Data types to display the Data Explorer.
- Click the name of a data type.
- 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
from the list of options.
-
In the
Options
column, select a data type 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 are stored in a page property of class [
Your organization
]-[
Your application name
]-Data-[
Field group name
].