cancel
Showing results for 
Search instead for 
Did you mean: 
Liliia_DevX
Sisense Team Member
Sisense Team Member

How to use JumpToDashboard in a Blox widget

This article explains how to use a JumpToDashboard within a Blox widget

We’ll use a default template “Indicator Right” as an example to implement the JumpToDashboard action within the button. 

  • First, let’s update the "text": "{panel:data}" with the data we want to display in this indicator. In our case it corresponds to the value title we’ve added in the left-hand side panel - "text": "{panel:Total Cost}". 

Liliia_DevX_0-1699271424676.png
  • Then let’s move to the actions section in order to update it with the JumpToDashboard code block. The code for JTD action in Blox can be found on the Blox reference page

 

{

    "type": "JTD",

    "title": "Jump To Dashboard",

    "data": {

        "dashboardId": "",

        "panelsToInclude": [

            {

                "panel": "Category",

                "value": "{{category.text}}"

            }

        ],

        "args": {

            "displayDashboardsPane": false,

            "displayFilterPane": true

        }

    }

}

 

 

  • Once you added the JTD action code, you need to define the ID of the dashboard to jump to under the “dashboardId” parameter:

Liliia_DevX_1-1699271424664.png

 

  • Then you can modify other JTD action parameters according to your needs like “title” etc. Please keep the type of the action "JTD" to use JumpToDashboard plugin functionalities. After that, you can also add the relevant JTD plugin parameters into the “args” section. The list of the parameters that could be used in “args'' can be found in the Technical Details tab on the marketplace. For example, the configuration for the Blox Indicator:

Liliia_DevX_2-1699271424658.png

 

  • As a result, you can click the “Open Report” button and jump to the target dashboard with “JTD” action in a Blox widget. 

Liliia_DevX_3-1699271424780.gif


Additional Resources:

JumpToDashboard Plugin - How to Use and Customize

Blox Reference

JumpToDashboard - Troubleshooting the most common configuration issues

Rate this article:
Version history
Last update:
‎11-06-2023 09:00 AM
Updated by:
Contributors