Thank you for your feedback.
Form temporarily unavailable. Please try again or contact to submit your comments.
  • Madrid
  • London
  • Kingston
  • Jakarta
  • Istanbul
  • Helsinki
  • Geneva
  • Store


Log in to subscribe to topics and get notified when content changes.


The DashboardMessageHandler class allows you to define custom filtering logic for interactive publishers.

DashboardMessageHandler - DashboardMessageHandler(String id)

Instantiates a DashboardMessageHandler object with a given unique ID.

Table 1. Parameters
Name Type Description
Id String A unique ID for the filter. This ID allows report widgets to track which filter applied each filter. The ID does not need to be unique across all dashboards, but each dashboard cannot have multiple filters with the same ID.

var my_dashboardMessageHandler = new DashboardMessageHandler("my_unique_id");

DashboardMessageHandler - publishFilter(String table, String encodedQuery)

Each DashboardMessageHandler object can publish a single filter.

Publishing a new filter from the same object overwrites the original filter. Use multiple DashboardMessageHandler objects to publish multiple filters.

Table 2. Parameters
Name Type Description
table String The table to filter, such as task.
encodedQuery String An encoded query that specifies the filter to publish.
Table 3. Returns
Type Description

var my_dashboardMessageHandler = new DashboardMessageHandler("my_unique_id");
<input id="onlyMine" type="button" value="Only mine" 

DashboardMessageHandler - removeFilter()

Removes the current filter published by this DashboardMessageHandler object from all reports on the homepage or dashboard.

Table 4. Parameters
Name Type Description
Table 5. Returns
Type Description

var my_dashboardMessageHandler = new DashboardMessageHandler("my_unique_id");
<input id="removeFilter" type="button" value="Remove filter"