Adding List Fields to Your App
Adding a list field
You can add several different types of list fields to your app:
List | List field from which the user can select one list item |
Integer List | List of integers from which the user can select one integer item |
Decimal List | List of decimals from which the user can select one decimal item |
List Tree | List field into which list items can be added in hierarchical order, with ability to select only one or multiple items |
Step 1: Open the Create or Edit Apps window and select the section.
- To create a new app, or copy or edit an existing one:
- To create a new app or workflow from scratch, open the Apps window, click Apps on the toolbar for an app or Workflow for a workflow, and then click Create New.
- To create your own version or edit one you already published, select the app or workflow in the Public Apps folder, click either Apps or Workflow, and then click Copy.
- To edit an unpublished app or workflow you are working on, select the app or workflow in your Apps under development folder, click either Apps or Workflow, and then click Edit.
- Click the section header to expand the section into which you want to add the list field.
Step 2: Select the list type to add
List, Integer List, and Decimal List fields
- Select the list type to use, either List, Integer List, or Decimal List.
- Click and drag the list object from the Lists section on the left to the expanded section in the middle.
- Click in the Label field to display its details on the right.
- Label: Edit the label as you want it to be displayed in the app.
- Default item to display: After entering the list in the step below (Edit list button), select the default item for the list.
- Make this field required: Select to require the user to select at least one item in the list.
- Exclude this item if nothing is entered: Click this option if you want to skip this list when nothing is entered in the app.
- Tool tip text: Enter text to inform the user about how to use the field when viewed in the app.
- To add a list item:
- Click Edit list.
- In the Edit list window, click Add.
- Double-click in the Display column, edit the display name of the list item, and click Save.
- Double-click in the Argument column, enter the command-line command according to the tool's requirements, and click Save.
- Double-click in the Value column, enter the value for the list item, and click Save.
- Repeat for each item in the list.
- Click Done.
List Tree (hierarchical lists) fields
- In the Lists section on the left, click and drag the List Tree item to the location in the selected section.
- Click in the List Tree Label field to display its details on the right.
- In the Details section on the right:
- Tree List label: Edit the label as you want it to be displayed in the DE.
- Make this field required: Select to require the user to select at least one item in the list.
- Exclude this item if nothing is entered: Skips the item if no item is selected.
- Tool tip text: Edit as needed.
- Click Edit hierarchical list to open the Edit list window:
Check Cascade determines how the list functions when a user takes action upon a section or field. By combining the cascade option with the Single selection only option, you can allow the user to select only one list item, one or more list items, or all list items. Select the cascade option to use:
Cascade type
When parent is selected
When only a child
With Single Selection Only optionBoth
Selects parent and all its children (default)
Selects only the checked child or children; highlights parent to indicate a selected child
Able to select only one child
Parent
Selects only the parent
Selects both that child or children and its parent
Selects only the checked child and its parent
Children
Selects both the parent and all its children
Selects only the checked child
Able to select only one child
None
Selects only the parent
Selects only the checked child
Able to select only the parent or only one child
- Single selection only: Allows the user to select only one item in the list. When used in combination with the Check Cascade method, it is possible to specify the list items that may be selected.
- To add a group:
- Click .
- Click in the Display cell to edit the group name.
- Click in the Argument cell to enter the argument, according to the tool's requirements.
- Click in the Value to enter the value of the folder.
- Click in the Tool tip text cell to enter the tool tip text for the group.
Repeat for each group to add.
To add a new group after you have added a list item, click Command+Click (Mac) or Control+Click (PC) to deselect the group, or you can drag the new group out to the desired level.
- To add an argument (list item):
- Select the group into which you want to add the list item.
- Click .
- Click in the Display cell to edit the list item name.
- Click in the Argument cell to enter the argument, according to the tool's requirements.
- Click in the Value cell to enter the value of the item.
- Click in the Tool tip text cell to enter the tool tip text.
- Repeat for each argument to add.
- To set the default group or argument, select the item and then click the checkbox in the Default column.
- To delete a group or argument:
- Click the group or argument to delete.
- Click .
- Repeat for each group or list item to delete.
- When done entering list tree items, click Done.
- Click Preview and then click Preview UI. When done, close the Preview window.
- Click Save.
Deleting a list field
- In the middle section, hover over the item to delete until you see a blue border around the object:
- Hover over the the gray
icon at the top right until it turns red: - Click the icon to complete the deletion.
- Click Save.