Add dashboard link to workspace using UI Builder

BKash
Tera Contributor

I created a dashboard (pa_dashboard) and I want to add link to the dashboard in Workspace using UI builder. How to add such links so that they will open the dashboard depending on the current instance.

1 REPLY 1

IronPotato
Mega Sage

Hi @BKash ,

 

you can achieve that with combination of "Text link" OOB component and client script where you should be able to get session information by accessing context. So add text link component, add client script to its click event and in that script console.log('session context', api.context). Browse the object payload and find what session information you need. Once you have your variables you can react on that and trigger the actual text link click event.