Dashboard Template script with msg.payload

#1

How can I use the objects from msg.payload inside the script-tag?
I need this information to control the layout...
Outside the script-tag it is possible, but I need it inside the script

0 Likes

#2

the Info sidebar for the ui_template node has an example of accessing msg.payload from within a script.

0 Likes

#3

This has some worked examples:

0 Likes