Ubidots Community

Set dashboard device html canvas

Is it possible to set the “Dashboard Device” in a dynamic dashboard using html canvas?

I want to make a list of my devices and when I click on a device it sets it as the dashboard device and all the widgets update to show its data.

Hi @dm3,

I hope all is well.

Are you referring to accessing the Device selected in the devices drop-down list? If yes, please refer to the following article to learn how to obtain this information from the HTML Canvas widget. Additionally, it is possible to get the Dashboard date range and TOKEN as well, in case you need it.

All the best,
-Isabel

Hi Isabel,

Thank you for getting back to me. Yes I am referring to the device selected in the drop down list. I have read through that user guide and can read the selected device, but I want to be able to set the selected device to another device. Is that possible?

Regards,
Dave

Hi @dm3,

Thank you for your response and explanation.

Unfortunately, at the moment is not possible to modify or set the device selected in the drop-down list. Nonetheless, I will share this suggestion with the Development team for future deployments.

All the best,
-Isabel