- Create a Jaggery app named pubsub-dashboard.
- Create g1.xml, g2.xml and index.html with following contents in pubsub-dashboard app.
- Go to http://localhost:9763/pubsub-dashboard.
- You will see that g1 is publishing messages and that g2 is receiving those messages.
- If you click on the Clear button, then the log at g2 will also be cleared.
The following code sample will be useful if you are writing any custom dashboards with WSO2 UES that requires inter-gadget communication or dashboard-gadgets communications.