Dashboards & Visualizations

Navigation xml stripping attributes from link

andywins
Explorer

I'm finding any attribute besides "href" is stripped when navigation xml->html is rendered. For example:

<collection label="test">
    <a href="http://www.google.com" target="_blank">Link to google</a>
</collection>

In this example, "target" will be stripped from the resulting html. Any idea how to get around this?

0 Karma

somesoni2
Revered Legend

Default behaviour of navigation xml doesn't support target field. There are workaround by making changes to application.js file for your app. See below post for more details.

http://answers.splunk.com/answers/11654/appbar-links-open-in-new-window

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...