Dashboards & Visualizations

How to create a hyperlink in main menu

aditsss
Motivator

Hi Everyone,

I need to create one hyperlink in my top menu bar.

I tried with following code. But its not working.

<collection>
<li><a href="O2 Team">O2 Team</a></li>
</collection>

I just want it as a static link as of now.

Can someone guide me how to create it.

 

Labels (3)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

You need to add a label="xxx" to your <collection> and remove the <li> from the line, e.g.

<collection label="This is the label for your collection">
  <a href="O2 Team">O2 Team</a>
</collection>  

but that will create a drop down menu with the label and your link will be in that menu.

If you just use the <a> line without <collection>, then you will have a single entry in your menu with the link to your href

 

0 Karma
Get Updates on the Splunk Community!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...