Adding a data reference to your data model

Add a data reference to your data model to store a data record, which is an instance of a data type. You can then add this field to a form to prompt users to select a data record from a list at run time.

For example, you can reference the Vehicle data type on an accident claim form to display a list of car models.

  1. Access the data model for a data type or a case type, based on how the field will be used in your application.
  2. Click + Add field.
  3. In the Name column, enter a label for the field. You can modify the identifier that is automatically generated in the ID column.
  4. In the Type column, select Data reference from the list of options.
  5. In the Options column, select a data type from the autocomplete field. Alternatively, you can create a new data type by clicking New.
  6. Click the Gear icon in the row of the data reference.
  7. In the Data Page field, select a data page that is populated with data records.
  8. Click Submit.
  9. If you are updating the data model for a case type, click Save. There is no save option for data types in Dev Studio.