<?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 Re: ddl in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-visibility/m-p/748361#M58878</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/255320"&gt;@Jasmine&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Is this resolved?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jun 2025 15:44:44 GMT</pubDate>
    <dc:creator>tej57</dc:creator>
    <dc:date>2025-06-19T15:44:44Z</dc:date>
    <item>
      <title>Dropdown visibility</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-visibility/m-p/690055#M58877</link>
      <description>&lt;P&gt;i have three drop down lists. one with component(A,B,C,D). other dropdown with severity(Info,Warning) and colour dropdown list.&lt;/P&gt;&lt;P&gt;If i select A,Info - colour dropdownlsit should be shown&lt;BR /&gt;if i select B,Info - colour dropdownlist should not be shown.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;how can i achieve this?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 18:59:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-visibility/m-p/690055#M58877</guid>
      <dc:creator>Jasmine</dc:creator>
      <dc:date>2025-06-19T18:59:26Z</dc:date>
    </item>
    <item>
      <title>Re: ddl</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-visibility/m-p/748361#M58878</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/255320"&gt;@Jasmine&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Is this resolved?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 15:44:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-visibility/m-p/748361#M58878</guid>
      <dc:creator>tej57</dc:creator>
      <dc:date>2025-06-19T15:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: ddl</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-visibility/m-p/748365#M58879</link>
      <description>&lt;P&gt;It sounds like the user should be making choices from the first two dropdowns and that supplies the fields that will be provided in the third dropdown.&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;what you want to do this is to tokenize the first two dropdowns so that the answer from them is (use better token names)&lt;BR /&gt;$optionA$&amp;nbsp; for the first dropdown&lt;BR /&gt;$optionB$ for the second dropdown&lt;BR /&gt;&lt;BR /&gt;Then in the third dropdown, fill the list from a query and use the tokens in the query so something like this&lt;BR /&gt;&lt;BR /&gt;index=yourindex sourceytpe=yoursourcetype valuex=$optionA$ valuey=$optionB$&lt;BR /&gt;&lt;BR /&gt;Or if it is a lookup file&lt;BR /&gt;&lt;BR /&gt;| inputlookup yourlookupfile | search valuex=$optionA$ valuey=$optionB$&lt;BR /&gt;&lt;BR /&gt;Hope that helps.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 17:08:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-visibility/m-p/748365#M58879</guid>
      <dc:creator>moorte</dc:creator>
      <dc:date>2025-06-19T17:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown visibility</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-visibility/m-p/748373#M58880</link>
      <description>&lt;P&gt;1. Please provide more meaningful subject than "ddl" for your post next time. It greatly improves readability of the whole forum and helps visibility of your issue.&lt;/P&gt;&lt;P&gt;2. As far as I remember there are no built-in mechanisms to control visibility of single input either in simplexml or in DS (btw, you didn't specify what type of dashboard you're building). With simplexml you can try to use custom JS to manipulate CSS to make components (in)visible.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 20:30:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-visibility/m-p/748373#M58880</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-06-19T20:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: ddl</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-visibility/m-p/748379#M58881</link>
      <description>&lt;P&gt;Do this ^^^^^^^&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 23:37:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-visibility/m-p/748379#M58881</guid>
      <dc:creator>LAME-Creations</dc:creator>
      <dc:date>2025-06-19T23:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Dropdown visibility</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-visibility/m-p/748386#M58882</link>
      <description>&lt;P&gt;It's actually easy enough with a bit of inline CSS - see this simple XML dashboard example, which hides the colour dropdown and sets the colour to black. If you select A, C or D then the colour dropdown is re-shown.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;form version="1.1" theme="light"&amp;gt;
  &amp;lt;label&amp;gt;ddl&amp;lt;/label&amp;gt;
  &amp;lt;fieldset submitButton="false"&amp;gt;
    &amp;lt;input type="dropdown" token="component" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Component&amp;lt;/label&amp;gt;
      &amp;lt;choice value="A"&amp;gt;A&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="B"&amp;gt;B&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="C"&amp;gt;C&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="D"&amp;gt;D&amp;lt;/choice&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;eval token="display_colour"&amp;gt;if($component$="B", "display:none", "")&amp;lt;/eval&amp;gt;
        &amp;lt;eval token="colour_name"&amp;gt;if($component$="B", "No Colour", $colour_name$)&amp;lt;/eval&amp;gt;
        &amp;lt;eval token="form.colour"&amp;gt;if($component$="B", "#000000", $form.colour$)&amp;lt;/eval&amp;gt;
        &amp;lt;eval token="colour"&amp;gt;if($component$="B", "#000000", $colour$)&amp;lt;/eval&amp;gt;
      &amp;lt;/change&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input type="dropdown" token="severity" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Severity&amp;lt;/label&amp;gt;
      &amp;lt;choice value="Info"&amp;gt;Info&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="Warning"&amp;gt;Warning&amp;lt;/choice&amp;gt;
    &amp;lt;/input&amp;gt;
    &amp;lt;input id="colour_dropdown" type="dropdown" token="colour" searchWhenChanged="true"&amp;gt;
      &amp;lt;label&amp;gt;Colour Dropdown&amp;lt;/label&amp;gt;
      &amp;lt;choice value="#000000"&amp;gt;Black&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="#ff0000"&amp;gt;Red&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="#00ff00"&amp;gt;Green&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="#0000ff"&amp;gt;Blue&amp;lt;/choice&amp;gt;
      &amp;lt;change&amp;gt;
        &amp;lt;set token="colour_name"&amp;gt;$label$&amp;lt;/set&amp;gt;
      &amp;lt;/change&amp;gt;
    &amp;lt;/input&amp;gt;
  &amp;lt;/fieldset&amp;gt;
  &amp;lt;row depends="$AlwaysHideCSS$"&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;style&amp;gt;
          #colour_dropdown {
            $display_colour$
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;h1 style="color:$colour$"&amp;gt;Component $component$, Severity Level $severity$, Colour $colour_name$&amp;lt;/h1&amp;gt;        
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/form&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 04:13:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Dropdown-visibility/m-p/748386#M58882</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2025-06-20T04:13:45Z</dc:date>
    </item>
  </channel>
</rss>

