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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...