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
SplunkTrust
SplunkTrust

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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...