I’ve an entity that includes Store Names and their corresponding IDs. My goal is to populate a dropdown menu with the Store Names and, upon selection by the user, display the respective ID in a label. So far, I’ve managed to populate the dropdown with the Store Names but I’m encountering difficulties in displaying the ID in a label after selection.
Dropdown →
Drag and drop the Dropdown option from the control to design panel in UiPath apps.
In the General panel there is option called ListSource. In that list source you have to give like the below expression.
I am able to achieve this. What I am looking for is to get the corresponding “Store ID” when a “Store Name” is selected from the dropdown. I am getting the “Store ID” and “Store Name” from an entity.
Stpe1:
Step2:
Note: This was done in legacy, we are migrating to VB