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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...