apps
latest
false
UiPath logo, featuring letters U and I in white
Apps User Guide
Automation CloudAutomation Cloud Public SectorAutomation Suite
Last updated Nov 15, 2024

Use arrays to populate Dropdown, Multiselect dropdown, and Radio Button controls

You can use arrays to populate the options of Dropdown, Multiselect dropdown, and Radio Button controls, by referencing them in the List source field of the control:

  1. Select the control and go to General properties tab.

  2. Open the expression editor for the List source field.

  3. Write one the following expressions:

    New List(Of String) From {"Value1", "Value2", "Value3"}.ToListSource()New List(Of String) From {"Value1", "Value2", "Value3"}.ToListSource()
    {"v1", "v2", "v3"}.ToListSource(){"v1", "v2", "v3"}.ToListSource()

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.