How to configure more than one JTD (JumpToDashboard) prefix in your app
How to configure more than one JTD (JumpToDashboard) prefix in your app
Objective
This guide provides a solution to the use case when you need to have 2-different prefixes for JumpToDashboard plugin. This solution could be useful if you want to display the drill dashboards with the specific prefixes for a specific group of users or keep different dashboard prefixes for different customers within one system.
The global plugin setting for the whole application is configured on the config.js file level while the same parameters defined in the widget script can override this global setting. This is described in the guide JumpToDashboard Plugin - How to Use and Customize. A widget script configuration allows us to define the JTD prefix per widget which helps to achieve this goal.
How to implement it?
Firstly, you need to define the "drilledDashboardPrefix" under the Admin tab > System Management (under Server & Hardware) > File Management > plugins > jumpToDashboard > js > config.js:
prism.jumpToDashboard(widget, { drilledDashboardPrefix : "_JTD"});
As a result, you will have a global setting for all users with "_drill" prefix while also having an option to define a different prefix for the dashboards you need.
Additional resources:
JumpToDashboard - Troubleshooting the most common configuration issues