You are here: Case management > Forms and fields > Building a form > Adding a data reference to a form

Adding a data reference to a form

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:

  1. In the Explorer panel, click Cases, and then click the case type that you want to open.

  2. On the Workflow tab, click Life cycle.

  3. Click an assignment or approval step.

  4. Click Configure view.

  5. 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.

  6. From the first list, select Data reference.

  7. From the second list, select a display mode that is supported by your field type.

  8. From the third list, select the name of a data type.

  9. Click the Gear icon and specify how a user can select records for this field.
  10. Optional: Add read-only fields to the form that are displayed when a user selects a data record.

  11. Optional: Drag a field to change its position on the form.

  12. 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.