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!

Value Insights: Now Generally Available in the CMC

Organizations are under pressure to move faster, control cost, expand AI adoption, and prove value with more ...

What’s New in Splunk AI: Volume 02

Welcome to the second edition of “What’s New in Splunk AI” where we look at the latest and greatest updates, ...

Splunk App Dev Quarterly Roundup: AI, Agents, and Innovation!

Another quarter, another wave of innovation. From complex integrations to pushing the limits ...