apps
2023.10
false
UiPath logo, featuring letters U and I in white
LEGACY

Legacy Apps User Guide for Automation Suite

Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated Nov 11, 2024

Using Choice Set

Overview

Before starting this example, make sure that you have the proper permissions from Data Service. For more information, check the Data Service - Managing Access page.

For the purpose of this example we will use an entity called Fauna with the following fields:

  • Animals - type Choice Set, multiple selection not allowed
  • Continent - type Choice Set, multiple selection allowed
  • Endangered - type Choice Set, multiple selection not allowed

Procedure

  1. Open your already existing application or start a new one.
  2. Add the entity you want to use to your app. For more information on how to do this, see Referencing an Entity in your App.
  3. Add a List control and configure it as follows:

    • In our example, reference the Fauna.Animals field of the entity in the List Source field.
    • In our example, reference the Animals.SelectedValue field of the entity in the Selected value binding field.
  4. Add a Multiselect dropdown control and configure it as follows:

    • In our example, reference the Fauna.Continent field of the entity in the List source field of the control.
    • In our example, reference the Continent.SelectedValues field of the entity in the Selected value binding field of the control.
    • In our example, add Continent: in the Label field.
  5. Add a Radio Button control and configure it as follows:

    • In our example, reference the Endangered.SelectedValue field of the entity in the Selected value binding field of the control.
    • In our example, add Endangered: in the Label field.

Tip: Notice that some properties are written as SelectedValue, while others are SelectedValues. Choice Set fields that have the Allow multiple selections property on will be displayed as SelectedValues, while the ones without this option activated will be displayed as SelectedValue.

Procedure Result

While previewing your app, you can select multiple animals from the list and continent from the dropdown.

You can also mark the ones that are endangered using the radio buttons.



  • Overview
  • Procedure
  • Procedure Result

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.