Dynamic list in dropdown selector

#1

Hi,

Is it possible to populate a dropdown selector input with a list of devices, or device tags?

Thanks

Ashley

#2

Can you provide a little more context as to what you’re trying to do? e.g. Is this within an experience view, a dashboard Indicator Block, or something else?

#3

In this case it was in a dashboard using the dropdown input control. I wanted a list of devices. The device list works but is a bit ugly with the additional columns.

to do it in an experience view, there is a good example here: https://www.w3schools.com/howto/howto_js_filter_lists.asp

#4

Yes, you would have to manually populate that list in the input controls block so probably not an option.

You could use the device list as you suggested, or you could maybe use dashboard context to choose a device to which the input controls should apply.