When a notification node is triggered in dashboard2, how can I set it to appear on all connected clients? IIRC it was a simple checkbox in dashboard1 but I cannot see a similar option in d2.
By default it will appear on all clients. The exception is if you trigger it from another dashboard node, in which case msg._client
will contain the session information, and the notification will only appear on that client. If you want it to appear on all clients in this case then add a Change node Deleting msg._client
.
add a Change node Deleting
msg._client
.
Thank you very much, I did not see that in the documentation.
I've just opened a PR to add this into the documentation: Docs: Detail method to send a notification to all users by joepavitt · Pull Request #1283 · FlowFuse/node-red-dashboard · GitHub
@joepavitt PR is merged
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.