UiPath Forms Create dynamic Select Box from list/array

I have a list coming from a google sheet that i want to be able to edit as needed, which the bot can use to dynamically populate a list of select box options with UiPath Forms Activity. I can manage the list dynamically via a dropdown list but i need the user to be able to select multiple options, so i need to use the select boxes options of UiPath Forms. There does not appear to be an easy way to do this:-( Help ASAP as in a time crunch!

Welcome to the forum Robert :slight_smile:
Look at the following workflow:
GenerateCheckBoxes.xaml (14.5 KB)
For more detailed explanation look at:

3 Likes

OK! I got it to work with my sheet! but do you have or know of example that helps parse the output?

Deserialize form output and then convert the json object to a dictionary of string and boolean.
outputCheckBoxes is a key name assigned to Select Boxes component:

Ctype(JsonConvert.DeserializeObject(formOutput), JObject)("outputCheckBoxes").ToObject(Of Dictionary(Of String, Boolean))

2 Likes

Hi Andrey, thanks for the solution. Is there a way to display these dynamic checkboxes in a new line?

Hi @andrey.egorov
What do I do wrong here? Should work similar for dropdown…
Sequence.xaml (10.1 KB)

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.