Dashboards & Visualizations

How can I run some JavaScript once an application's default navigation menu bar has been rendered?

joemcmahon
Explorer

I would like to make some modifications to an application's default navigation menu bar once it is rendered. I can do this simply in dashboards and forms using the script tag, but I can't seem to find a way to do it for other pages (e.g., search page, report list page, dashboard list page, etc.).

Tags (1)
0 Karma

niketn
Legend

@rucb, you can refer to some of my previous answers to build your own views within your app to access your dashboards, searches, reports etc.

1) create your own Navigation using Prebuilt Panels: https://answers.splunk.com/answers/588779/whats-the-best-way-to-limit-a-role-so-it-only-has.html and https://answers.splunk.com/answers/595047/can-we-implement-cascading-dropdowns-in-a-dashboar.html
2) Create your own Search UI as dashboard using SplunkJS: https://answers.splunk.com/answers/586948/how-to-change-app-banner-css-when-open-search-in-s.html
3) Create your own dashboards with the link for dashboards/reports under specific app/accessible by logged in User, using Splunk REST API: https://answers.splunk.com/answers/639475/how-to-pass-a-dashboard-as-value-in-dropdown-of-an-1.html
Please try out and confirm!

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
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!

Splunk Asynchronous Forwarding Explained

Splunk asynchronous forwarding is often misunderstood as simply setting autoLBVolume. That is not quite right. ...

55 Days to Go: Secure Your Seat at Splunk University in Denver

Your .conf26 Experience Starts Before Opening Keynote  If Denver is known for its mile-high elevation, Splunk ...

(re)Introducing the Splunk Community Champions + 2026 – 2027 Splunk MVPs ...

This program exists as a channel to empower and recognize Splunk advocates and help supercharge initiatives to ...