How do you set the "Selected Value" property of a pre-populated drop-down list?

  • Note: this is for an Orchestrator app, not for a Studio project.
  • Editing to hopefully get some answers

I have an Orchestrator application that retrieves a record from a SQL Table, and then loads the record into a form which allows the user to edit the retrieved values.

Most of the form data (again, this is in Orchestrator) is displayed in textboxes with each field bound to the corresponding textbox’s “Value Binding” property. However, I have a field whose values are constrained to a list of specific choices, so this field is represented by a dropdown list; the possible selections are being provided via a “List” in the “List source” property. (the values are strings that are between 2 to 4 characters in length).

I have tried using “Set value” to assign data to the dropdown’s “Selected value binding” property once my query process is complete, but that does not work (which is how the rest of my data is set). I’ve tried binding the dropdown’s selected value property directly to the “Out” argument value that is retrieved. I’ve even tried binding the “Default selected value” property to the data but to no avail. Nothing will work.

I can basically fill my entire form except for this dropdown list. What is the proper way to select a dropdown value programmatically on a form in an Orchestrator app?

Note that my query works and is pulling back all of my data correctly - I’ve added a “Show Message” prompt to display it. It’s all there - the dropdown list simply won’t display the data that I am wanting to select.

PS: I’m having a similar frustrating time doing the same thing with a date picker, but I’ll leave that for another question.

UPDATE:
Until a better solution is found, I have a work-around that is not ideal, but works:
I am displaying the data on the Orchestrator app form in a read-only textbox. Above this textbox, I have a drop-down list containing the allowed values for the field. The user can select a new value from this drop-down, and the “On Change” event will update the value in the textbox appropriately.

Thanks,

Ron Turrentine

@OldTimeRocker

you can use “Select item” activity to select the value in the drop down list.

Hope it helps.

Cheers

Thanks for replying, Venkat4, but your solution is for UiPath Studio.
My issue is in regard to an Orchestrator App - not Studio.

Thanks,

Ron

Seeing that I’ve not gotten any suggestions, I’m adding a comment to hope and generate some traction on this subject. I’ve not yet found answer to this.

Thanks!
Ron