@Nithinkrishna so do we need to run background processes having string array out arguments via bots every time we want to populate values in a dropdown in UiPath apps?
I’m not sure if there is any progress as far as adding an easier way to populate drop-downs in Apps.
UiPath could implement this (in theory) as follows:
Link Assets to Apps. We create a text type asset and populate a csv list of key-value pairs as a string into this asset. Something like this
[(1, “Excellent”), (2, “Good”), …]
The drop down control in Apps could be enhanced to accept this asset as an input and the key-value pairs could be mapped into the drop down provided the above string is formed correctly.
The advantage here is, this arrangement could be used by humans for static assets and also Robots for Dynamic assets, but there may be additional challenges if any apps are currently using that drop down control at the time!
User selects Other in dropdown and enters it into text field “Other…”.
When moving mouse to another field, UiPath App displays content of “Other…”
in dropdown field:
Hi guys, I have an entity named Processes. And now I wanna add a dropdown control with the list of process names from that entity. How can I do that? =List(Processes.Process Name) doesn’t work
@evan.cohen Any idea why some projects show the ‘resources’ panel and allow simple creation of static lists and other projects do not show the ‘resources’ panel when “=” is entered? My older UiPath apps allow very easy creation of dropdown lists but my new project simply opens an expression editor.
Old Project:
@chad_boss1:
For us the resource panel is not poping up too. don’t know whats wrong there, but the expression editor is not that handy to use. even the documentation is always showing the resource panel … didn’t find any documentation regarding the expression editor so far.
with new editor i did it like that:
we managed to fill a dropdown via data service. So i created a new entity in data service and added my dropdown values as data. in the UiPath app studio add on the entity. On the dropdown source field i click on the settings button behind it and choose query builder. Then selecting my added entity. In the columns field i write the technical field name of the entity in data service i want in the dropdown. (technical field is not the “display field”). Hope that helps.
Thanks for the reply! Yes, I just discovered the same myself and was going to edit this post. When creating a new app, you can select either ‘VB’ or ‘Legacy’. That choice cannot be changed once the app is created.
Regarding the specific question I asked about how to make a simple static list for a dropdown, the page you linked to shows the old syntax vs the new syntax, so I’ve included that here: