Can anybody help me understand if it is possible to pass a list of options into a drop-down nested inside an edit grid in Form Designer?
I am working on a workflow where I need a custom form that allows for the user to enter multiple items that each consist of two strings - one from a textbox entered directly by the user, and the other from a dropdown list of options.
In order to allow any number of items to be entered, I’ve inserted a text field and a drop-down field into an Edit Grid, which will allow the user to add as many pairs of text field and drop-down as appropriate.
I need to pass in a list of strings to dynamically generate the drop-down options the user can select from.
I’ve seen that this can be done by passing in a list with the correct name via FormFieldsCollection under the Data Bindings section of the Form Activity, though the documentation seems to be outdated and refers to “FormData” rather than “FormFieldsCollection”: https://docs.uipath.com/activities/docs/advanced-controls-form-designer#dynamic-drop-downs
The problem is, while I can get this working for a normal drop-down, I do not know how it can be done when the drop-down is nested inside of an edit grid. I’ve tried setting the field key and argument name appropriately, but it doesn’t seem to work unless I pull the drop-down outside of the edit grid.
I’ve seen in old documentation that there used to be a “Data Source Type” option that could be set to custom, which allowed for passing a list of strings in directly, though that feature seems to have been removed for some reason: Data Source Type in Drop-down List of Form Designer
Please let me know if anybody has encountered this issue before or knows of an applicable solution.