Dashboards & Visualizations

Hide and show panels on button click

test4u
Path Finder

Hi all,
I know how to hide and show panels using link switcher and radio buttons.
but if there is a html button and we have two two map in a single panel namely->map1,map2
if button is clicked map2 should be displayed otherwise map1 should be displayed.

How to achieve this.
Kindly help

Tags (1)
0 Karma
1 Solution

niketn
Legend

@test4u please check out one of my older answer around similar use case. Do read updated comments as well... As per requested change in the requirements.

https://answers.splunk.com/answers/581652/how-can-i-create-a-button-switcher.html

Please try out and confirm.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"

View solution in original post

0 Karma

niketn
Legend

@test4u please check out one of my older answer around similar use case. Do read updated comments as well... As per requested change in the requirements.

https://answers.splunk.com/answers/581652/how-can-i-create-a-button-switcher.html

Please try out and confirm.

____________________________________________
| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Get Updates on the Splunk Community!

Archived Metrics Now Available for APAC and EMEA realms

We’re excited to announce the launch of Archived Metrics in Splunk Infrastructure Monitoring for our customers ...

Detecting Remote Code Executions With the Splunk Threat Research Team

WATCH NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If exploited, ...

Enter the Dashboard Challenge and Watch the .conf24 Global Broadcast!

The Splunk Community Dashboard Challenge is still happening, and it's not too late to enter for the week of ...