QuestionQ7

UI Automation

Which of the following code samples can initialize the ListSource property of a Dropdown element in a UiPath APP?

  • A AppsDataSource.from({“Option1”, “Option2”})
  • B AppsDataSource.from(New List(Of String) From {“Option1”, “Option2”})
  • C New List(Of String) From {“Option1”, “Option2”}
  • D New String
Explanation

A Dropdown’s list source is initialized with an Apps data source. AppsDataSource.from(New List(Of String) From {...}) converts the string list into the required Apps list-source representation. UiPath documents this expression pattern for populating dropdown controls.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!