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

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...