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!

Detection Engineering Office Hours: Real-World Troubleshooting & Q&A

[REGISTER HERE] This thread is for the Community Office Hours session on Detection Engineering Office Hours: ...

Developer Spotlight with Mika Borner

From Hackathon Winner to Enterprise Leader    Mika Borner, CEO and Founder of Datapunctum AG, has been ...

Continue Your Federation Journey: Join Session 3 of the Bootcamp Series

To help practitioners build a stronger foundation, we launched the Data Management & Federation ...