- 25 Oct 2021
- 1 Minute to read
- Print
- DarkLight
Create a Drop Down List
- Updated on 25 Oct 2021
- 1 Minute to read
- Print
- DarkLight
Overview
A Drop Down List component has a created list that displays when the Drop Down arrow is selected. Select one item on the created list to display in the given Drop Down List field.
Configuration
To configure a Drop-down List, navigate to Properties > Input Data to view its settings.
Type refers to the Data Type to populate the Drop-down List such as String, Int32, Account, etc. Mixed Drop-down Lists with multiple Data Types are not supported.
Display Field appears alongside Entity Data Types such as FileData, Accounts, Documents, etc. where one individual data entry comprises of multiple variables. The Display Field allows the Designer to choose which variable represents the item in the Drop-down List. For example, a Drop-Down List of the FileData Type represents lists each item by its FileName by selecting it in this setting.
List Input Source defines where the list items originate. Three options are available with each accompanied by unique settings:
- DataName: Collects list items by DataName allowing for dynamic population.
- Once selected, the List Items DataName setting designates the DataName.
- Flow: A Flow runs inside the Form to generate the list.
- Once selected, the Flow Output DataName setting collects the output of the Flow thus creating the list.
- Static: Creates a static list of specified items for selection.
- Once selected, the List Items setting allows the Designer to type out individual list items separated by hitting ENTER.
- Furthermore, the Static Default Item(s) setting enables if or if there is not a default chosen item in the list.
Example
This example demonstrates how to configure a Drop Down List component and add it to a Form.
- Begin in the Form Designer and select the Drop Down List located in the Form Controls tab in the Favorites Components section in the Form Designer.
- Drag the Drop Down List component to the workspace.
- In the Input Data section under the List Input Source select the desired Source from the Drop Down List. T
- For this example, after List Items are added on the Drop Down List, the items listed will default as one Output with the Data Name set to "Selected".By default, all Drop Down List Data Names are set to "Selected". The best practice is to change this Data Name to something meaningful to the process.
- This example uses "Group" as the new Output Data Name. Use this Data Name to map the Drop Down List in a Flow.
- The Drop Down List now displays the listed items on the Form.