Send the value of msg.payload from template to another one

it's possible to send the value of msg.payload or topic from template to another one.
if yes, could you please show me the flow of nods should i used to reach my goals.
what i intend to do in details:
1- in first template i have 10 ui_switch
2- in the second template i have svg img
what i want to do is when i activate the first switch, i get the value of msg.payload in the second template and i execute js code in order to change the color of a particular element in my svg img.

thank you for your help.

If you use node-red-contrib-ui-svg this becomes trivial

thank you for response.
i used "Inskscape" to create my svg img and then i call it with html object

thank you

There is LOTS of info and tons of examples in the readme and the wiki

Finally, i find the solution.
In fact, i used the "websocket out" node to send the value of msg.payload from template to another one.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.