By Sisense

The Accordion enables you to toggle between different sub-dashboards on demand by clicking an Indicator widget.

The Accordion add-on is useful for providing large amounts of information within a limited space.

To install the Accordion add-on:

  1. Download the attachment.
  2. Extract the .zip folder into the plugins folder. If the folder does not exist, create it prior to extracting the .zip file.
    For V7.1 and earlier
    : C:\Program Files\Sisense\PrismWeb\plugins
    For V7.2 and later
    : C:\Program Files\Sisense\app\plugins
  3. After those files have been unzipped there, you may also have to restart the web server.
  4. Create a dashboard that will be displayed as the sub-dashboard when using the Accordion widget. The dashboard name should start with the prefix ‘_accrd_’ for the dashboard to be hidden for non-owner users from the Dashboards panel.
  5. Open the Indicator widget’s script editor.
  6. In the Script Editor, paste the following code:
     widget.on('ready', function(se, ev){
              element: element,
              widget: widget,
              dashboard: dashboard,
              //filters: ['[<table name>.<table field>]'],
              default: false,
              dashboardUrl: '',
              widgetFiltersInheritance: true       
  7. Edit the script and define the values relevant for your use-case. You can modify the following objects:
    default: Set to true to display the sub-dashboard by default.
    //filters: The filters object has the structure [‘[<TABLE_NAME>.<FIELD_NAME>]’]. You can configure which dashboard filters will be taken from the “super” dashboard, for example: filters: [“[Dates.Date (Calendar)]”,”[Product.Name]”,”[Employee.Name]”].
    dashboardUrl: The value of the dashboardUrl object is the URL of your dashboard. This is the sub-dashboard that will be displayed when you click an Indicator widget. You can add any filters you may want to apply by remove the comment tags from the filters object and defining its value. You can retrieve the Dashboard URL when sharing a dashboard. The Dashboard URL is displayed at the bottom your Sharing window.
  8. In the Script Editor, click Save and refresh the widget to display the Accordion effect.
This is a free add-on, click here to get it now.


Added support for CSRF


Arrow in title rotated to show in the bottom right corner


Fixed performance issues


Added icon to the widget to show that it links to an Accordion