<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How do I refresh all Dropdowns when Submit button is pressed? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-refresh-all-Dropdowns-when-Submit-button-is-pressed/m-p/595856#M48849</link>
    <description>&lt;P&gt;I have a Dashboard that has multiple Dropdowns (Environment, Time Range, Application, Search Parameters) and I have a submit button after all of these. The Application Dropdown is special in the fact that there are 2 applications that need to have the application tag added to the end of it in order to search correctly. Ex, If I want to search for an application most of them look like "index=name source=name app=appname" but for 2 of the applications it needs to look like "index=name source=name app=appname$environment$" I have figured out how to alter the token value based on whether the special apps are chosen using :&lt;/P&gt;&lt;P&gt;&amp;lt;input type="dropdown" token="application" searchWhenChanged="false"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;choice value="normalapp1"&amp;gt;Normal App 1&amp;lt;/choice&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;choice value="normalapp2"&amp;gt;Normal App 1&amp;lt;/choice&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;choice value="specialapp1"&amp;gt;Special App 1&amp;lt;/choice&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;choice value="specialapp2"&amp;gt;Special App 2&amp;lt;/choice&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;change&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;condition value="specialapp1"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;set token="application"&amp;gt;specialapp1$environment$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/condition&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;condition value="specialapp2"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;set token="application"&amp;gt;specialapp2$environment$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/condition&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/change&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/input&amp;gt;&lt;/P&gt;&lt;P&gt;The problem is that these changes are nested in this one dropdown so it only works properly when I change the application dropdown and not every time I press submit. Does anybody have a solution for updating all of the dropdowns every time the Submit button is pressed?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Apr 2022 21:33:35 GMT</pubDate>
    <dc:creator>BenjaminCCC</dc:creator>
    <dc:date>2022-04-28T21:33:35Z</dc:date>
    <item>
      <title>How do I refresh all Dropdowns when Submit button is pressed?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-refresh-all-Dropdowns-when-Submit-button-is-pressed/m-p/595856#M48849</link>
      <description>&lt;P&gt;I have a Dashboard that has multiple Dropdowns (Environment, Time Range, Application, Search Parameters) and I have a submit button after all of these. The Application Dropdown is special in the fact that there are 2 applications that need to have the application tag added to the end of it in order to search correctly. Ex, If I want to search for an application most of them look like "index=name source=name app=appname" but for 2 of the applications it needs to look like "index=name source=name app=appname$environment$" I have figured out how to alter the token value based on whether the special apps are chosen using :&lt;/P&gt;&lt;P&gt;&amp;lt;input type="dropdown" token="application" searchWhenChanged="false"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;choice value="normalapp1"&amp;gt;Normal App 1&amp;lt;/choice&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;choice value="normalapp2"&amp;gt;Normal App 1&amp;lt;/choice&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;choice value="specialapp1"&amp;gt;Special App 1&amp;lt;/choice&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;choice value="specialapp2"&amp;gt;Special App 2&amp;lt;/choice&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;lt;change&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;condition value="specialapp1"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;set token="application"&amp;gt;specialapp1$environment$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/condition&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;condition value="specialapp2"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;set token="application"&amp;gt;specialapp2$environment$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/condition&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/change&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/input&amp;gt;&lt;/P&gt;&lt;P&gt;The problem is that these changes are nested in this one dropdown so it only works properly when I change the application dropdown and not every time I press submit. Does anybody have a solution for updating all of the dropdowns every time the Submit button is pressed?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Apr 2022 21:33:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-do-I-refresh-all-Dropdowns-when-Submit-button-is-pressed/m-p/595856#M48849</guid>
      <dc:creator>BenjaminCCC</dc:creator>
      <dc:date>2022-04-28T21:33:35Z</dc:date>
    </item>
  </channel>
</rss>

