I have a device with attribute colName, string type. Also, I have a dropdown list that needs to get pouplated with a series of values that get assigned to colName. How can this be done?
I am trying to button trigger a workflow to get the list of names which needs to get populated to the dropdown list (colName)
Assuming you’re talking about using an Input Controls Block, you can use a dropdown selector input and manually set the options for the dropdown to be the values that can be assigned to the device’s colName
attribute.
Unfortunately there is no way to dynamically populate the options in the dropdown selector at this time; you can only dynamically choose which is the default selected option via a device query.
This is a feature request we’ve gotten a few times, so we’ll look into ways to autopopulate these inputs.
1 Like