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 |
void |
|
var my_dashboardMessageHandler = new DashboardMessageHandler("my_unique_id");
<input id="onlyMine" type="button" value="Only mine"
onclick="my_dashboardMessageHandler.publishFilter('task','caller_idDYNAMIC90d1921e5f510100a9ad2572f2b477fe');"/>