We've updated the ServiceNow Community Code of Conduct, adding guidelines around AI usage, professionalism, and content violations. Read more

Tabs in Workspace - SimpleList

MichaelZischeck
Kilo Sage

I have a dashboard with several data visualizations.

Is it possible to open a new tab when I click one of them?

To me it looks a bit like a new tab is related to the table used in the data visualisation.

If I have 3 data visualisations for different tables, each will  open a new tab.

Clicking on a data visualisation using the same table as another, just a different filter / grouping etc., it always opens in the same tab,  ie.  replacing what was in that same tab before

 

Weird thing is: simpleList has "tab" as parameter, but I can't figure out how to use it 

MichaelZischeck_0-1740052931280.png

 

2 REPLIES 2

Gary Fawcett1
Tera Guru

Yes we have the same issue, it keeps reusing the same tab.  You can set the Target Route to _blank.  But then it does some strange things with opening multiple tabs.

I wish this was documented somewhere?

Are you using the advanced dashboards experience? How are you redirecting? I can't get the Advanced dashboards - Redirect handler to work but this is what you are apparently supposed to do:
Add a drilldown event to a data visualization in a technical dashboard • Washington DC Platform Anal...

None of the sample dashboards using the handler work so not sure what's up with that.

 

You can just use the Open page or URL event to open a page you want

function handler({
    api,
    event,
    helpers,
    imports
}) {
    const redirectPayload = {
        external: {
            url: "https://www.google.com/"
            //target: "_blank"  <- default
        }
    };
    api.emit("NAV_ITEM_SELECTED", redirectPayload)
}