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.
To add a data reference:
In the Explorer panel, click Cases, 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.
This is the default display mode.
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.
The value of the field is determined by a declare expression at run time.
From the third list, select the name of a data type.
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.
This list is populated with properties that are defined in the data type.
Repeat steps 1 through 2 to add more read-only fields.
Optional: Drag a field to change its position on the form.
Click Submit.
After you add a data reference to a form, you can reuse the field because it is part of the data model for your case type. At run time, the data reference is displayed as an autocomplete field that is populated with a list of data records. Users can search for a data record by entering text in the field.