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!

Recap | Agentic Operations Start with Context: Build the Right Data Foundation

Agentic Operations Start with Context: Build the Right Data Foundation   By Courtney Wright, Product Marketing ...

Recap | Assisted, Augmented or Agentic? Choose Your Splunk Starting Point

Assisted, Augmented or Agentic? Choose Your Splunk Starting Point   By Courtney Wright, Product Marketing ...

Session 2 | Beyond the Thread: Operationalizing AI with Confidence

Session 2   Beyond the Thread: Operationalizing AI with Confidence    The true power of the Cisco Data Fabric ...