JazzSM Dashboard Widgets Interaction - Eventing Demystified
BobbyJoseph 0600010AUC Visits (17404)
The DASH (Dashboard Application Services Hub) component in the UI Services of IBM JazzSM product supports custom dashboarding via drag and drop. This enables customers and business partners to easily create tailored dashboards at their end easily, without any programming and minimal technical knowledge. But many times you may want the widgets to interact each other too, either to other widgets in same page or even another page. In this blog we will see how to do that and a quick peek into how it works.
DASH supports many events for interaction between widgets. You can see the events supported by a widget by going to the 'Events' settings of the widget.
In the above example, the List widget titled "Computer Systems" publishes "NodeClickedOn" event and subscribes to "dataRefresh" event, as shown above in the second image.
Following table gives a quick summary of some of the events in DASH
NOTE: The sender won't receive the event it sends.
So let us take an example and see how the eventing works. Following is the initial state of the dashboard when opened. Each widget is configured to different datasets (but related data) and most of the widgets usually show data in the order it is retrieved. Eg: Multi-row or collection widgets like Table or List shows first few rows vs single row widgets like Gauges or Smart Text shows the first row.
Initial State of the Dashboard:
You can see the gauges showing first row returned from respective dataset.
Dashboard with context set
A row in the List was selected (aki
This explains on a very high level what happens in the background:
In above example, EventLink, Description and Status are column IDs of dataset 'Computer Systems" which the list widget is configured to.
More detailed information on troubleshooting can be found in this Guide: Trou
Couple of things to note:
Here is a demo video of how to do this via
Now go and make some amazing and powerful dashboards that are interactive and can even drill thru with context to show more detailed information. Good luck!
1) You can do page launch or external launches even if a widget doesn't support it directly. Here are some hints: