Hello,
I already created one DB connection and get the result from as an array which could display in the app. Meanwhile, i also created an dropdown list as option for input in the app.
May i know how to build the link and let the connector result to App input drop down list options…?
For example, i have below 3 department name, i need convert them into the dropdown options. Then i could choose them as input…
regarding your question, on the Dropdown Single Select, Options > Variable you can assign it to the to the Array you have returning from your Connector Function:
I believe you can add one additional trigger action when you’re running that connector function to use the MAP_TO_TEXT_LIST() expression. This can help map to a text array, which is what the single select widget is looking for. Looking at your screenshot, I believe you’d set this up by saying MAP_TO_TEXT_LIST(@variable, 'DEPARTMENT_NAME') where DEPARTMENT_NAME is your key (name of the column).