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.
-
Access the field, based on the way that it is defined in your data model.
- To view fields in a data type:
- In App Studio, click the Open
runtime toolbar icon.
- Click Turn editing on.
- In the navigation panel, click Data
to display the Integration Designer.
- Click the name of a data type.
- Click the Data model tab.
- To view fields in a case type:
- In App Studio, click the Open
runtime toolbar icon.
- Click Turn editing on.
- In the navigation panel, click
Cases to display the Case Type Explorer.
- Click the name of a case type.
- Click the Data model tab.
- To display fields that are inherited by your application,
click Show reusable fields.
- To view fields on a form:
- In App Studio, click the Open
runtime toolbar icon.
- Click Turn editing on.
- In the navigation panel, click Cases to display the Case
Type Explorer.
- Click the name of case type.
- On the Views tab, click the name of a form.
-
Click the Gear icon in the row of the picklist field.
-
In the Display as list, select the name of a control.
-
Click + Add choice.
-
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.
-
Repeat steps 4 through 5 for each option to include in the picklist.
-
Click OK.
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.