Dashboards & Visualizations

How do I set a selected value for the multidropdownview?

keithyap
Path Finder

I have 2 dashboards, an overview dashboard where I would drilldown to another dashboard with the multidropdownview. How do I set a selected value on the multidropdownview when drilling down from the overview dashboard? For normal form inputs I can just add the form."tokenName" and that would set the value for the input. Is there a way I can achieve this with multidropdownview?

0 Karma
1 Solution

lquinn
Contributor

Assuming this is a django dashboard, you can set the vlue forthe multidropdownview in javascript like this:

 splunkjs.mvc.Components.getInstance("your-multi-dropdown-id").settings.set("default",["dropdownvalue"]);

View solution in original post

lquinn
Contributor

Assuming this is a django dashboard, you can set the vlue forthe multidropdownview in javascript like this:

 splunkjs.mvc.Components.getInstance("your-multi-dropdown-id").settings.set("default",["dropdownvalue"]);
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...