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!

New Dates, New City: Save the Date for .conf25!

Wake up, babe! New .conf25 dates AND location just dropped!! That's right, this year, .conf25 is taking place ...

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud

Introduction to Splunk Observability Cloud - Building a Resilient Hybrid Cloud  In today’s fast-paced digital ...

Observability protocols to know about

Observability protocols define the specifications or formats for collecting, encoding, transporting, and ...