LinkedIn
Copied!

Table of Contents

Creating a picklist

Version:

Only available versions of this content are shown in the dropdown

Add choices to a picklist to specify the options that users can select. At runtime, users are prompted to select one choice from the picklist. List entries are displayed in the order in which you add choices.

By default, picklists are empty.
  1. In the navigation pane of App Studio, click Case types.

  2. Under Case types, click the name of a case type.

  3. Click the Data model tab.

  4. Click Add field

  5. In the Field name field, enter the name of the field.

  6. In the Type field, select Picklist.

  7. In the Display as list, select the name of a control.

    The control defines how users see your list.
    • Drop-down list – Displays a list of options in a drop-down format, from which users can select a single option
    • Radio buttons – Displays a list of options in a radio button format, from which users can select a single option
    • Search box – Prompts users to search for an existing user by entering a full name or operator ID in an autocomplete field.
  8. In the Picklist options field, select the source of the picklist options.

    • Local
    • Data view
  9. In the Choices section, click Add choice, and then enter a choice to display in the list at run time.

    For example, the choices in a color picklist might include red, white, and blue.
  10. For each additional option in the picklist, click Add choice, and repeat step 9.

  11. Click Submit.

  12. Click Save.

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.

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.