Adding a single-value field to your data model

Add a single-value field to your data model to store an individual piece of information. You can then reference this field on a form to collect a value from users at run time.

For example, you can define a Phone field type and then add it to a form to prompt users to enter their home telephone number.

  1. 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:
      1. In the explorer panel of Designer Studio, click Data to display the Data Explorer.
      2. Click the name of a data type.
      3. Click the Data model tab.
    • To view fields in a case type:
      1. In the explorer panel of Designer Studio, click Cases to display the Case Type Explorer.
      2. Click the name of a case type.
      3. Click the Data model tab.
      4. Optional:To display fields that are inherited by your application, click Show reusable fields.
  2. Click + Add field.
  3. n 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 an option from the Simple or Fancy category that represents the type of data that is stored in the field.
  5. If you are updating the data model for a case type, click Save.
Note: Some single-value fields, such as picklists, require configuration before they are fully functional. Click the Gear icon to view the available options for a field.