Using "Jump To Dashboard" Together With "Dynamic Elasticube" Plugin
Introduction
This article explains how to set up a jump to dashboard popup window with a dynamic elasticube
Steps
- Install the Dynamic Elasticube plugin
- Install the Jump To Dashboard plugin
- Add the following script to the target dashboard script:
var ECname = 'SampleEC'
var dash = '#/dashboards/5651ad912011eb940c0423dd?folder=6113ba5a26c8a3a31d005250'
var target = ((location.href.indexOf(dash)==-1) ? location.origin + location.pathname + dash : location.href) //redirecting to target dashboard if necessary
if (target.indexOf('elasticube=')==-1){
location.href = target + ((target.indexOf('?')==-1) ? "?" : "&") +"elasticube=" + ECname; //adding elasticube parameter if necessary and trigger redirect
}
- Populate relevant elasticube name and target dashboard url to the variables "ECname" and "dash" respectively
Updated 02-21-2024
intapiuser
Admin
Joined December 15, 2022