Add a data reference to a form to prompt users with a list of data records. By using
data references, you integrate data with cases in your application.
For example, you can reference the Vehicle data type on an accident claim form to display a
list of car models.
-
In the navigation panel of Dev Studio, click Case types, and then click the
case type that you want to open.
-
On the
Workflow
tab, click
Life cycle.
-
Click an assignment or approval step.
-
Click
Configure view.
-
Click
+ Add field.
-
In the autocomplete field that is displayed, enter a unique label.
Do not use px
, py
, or pz
prefixes in a
label because they are reserved.
-
From the first list, select
Data reference.
-
From the second list, select a display mode that is supported by your field type.
- Optional — Users do not need to enter a value in the field to
submit the form.
- Required — Users must enter a value in the field to submit the
form.
- Read-only — Users can view the value in the field but cannot
edit it.
- Calculated (read-only) — Users do not enter values in the field,
because a declare expression determines the value at run time.
-
From the third list, select the name of a data type.
-
Click the
Gear
icon and specify how a user can select records
for this field.
- Optional:
Add read-only fields to the form that are displayed when a user selects a data record.
-
Click + Add field to data type.
-
Select a property from the list, which is populated with properties that are defined in
the data type.
- Optional:
Drag a field to change its position on the form.
-
Click
Submit.