Configuring a picklist

After you add a picklist field to your data model, you must populate it with choices for users to select. By default, picklists are empty and the underlying property has the Table type field set to None.

  1. Access the field, based on the way that it is defined in your data model.
    • 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.
    • To view fields on a form:
      1. Click Turn editing on.
      2. In the explorer panel of Designer Studio, click Cases to display the Case Type Explorer.
      3. In the navigation panel, click Cases to display the Case Type Explorer.
      4. Click the name of case type.
      5. On the Views tab, click the name of a form.
  2. Click the Gear icon in the row of the picklist field.
    Note: This icon is not available when the underlying property has the Table type field set to Field Value, Class Key Value, or Remote List. Open the Property form to configure these advanced options.
  3. In the Display as list, select the name of a control.
  4. Click + Add choice.
  5. In the text input field that is displayed, enter a choice to display in the list at run time. For example, the choices in a picklist of colors can include red, white, and blue.
  6. Repeat steps 4 through 5 for each option to include in the picklist.
  7. Click OK.

    The Table type field for the underlying property is set to Prompt List and prompt values are created for each choice in the list.

At run time, users are prompted to select one choice from the picklist. Entries in the list are displayed in the order in which they were added.