<?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 Cascading Splunk dropdown will not populate on the first selection but will on the second? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Cascading-Splunk-dropdown-will-not-populate-on-the-first/m-p/122585#M7177</link>
    <description>&lt;P&gt;Hey folks, I hope you can help me out as I'm stumped. I have a cascading dropdown menu. The 2nd dropdown menu relies on the first to obtain its variables. When I load the page, the first dropdown menu populates with no issue. When I make a selection with the first dropdown menu the second dropdown menu does not populate. If I select a different item in the first dropdown menu, after having already made my first selection, the second dropdown menu populates just fine. It does not matter which item I select in the first drop down menu, the issue always occurs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="dropdown" token="UCID"&amp;gt;
  &amp;lt;label&amp;gt;Select Item&amp;lt;/label&amp;gt;
  &amp;lt;default&amp;gt;Default Item 1&amp;lt;/default&amp;gt;
  &amp;lt;populatingSearch fieldForValue="UCID" fieldForLabel="UCID"&amp;gt;
    &amp;lt;![CDATA[|inputlookup item_1_lookup | fields "Use Case" | rename "Use Case" AS "UCID" | uniq "UCID" | sort "UCID"]]&amp;gt;
  &amp;lt;/populatingSearch&amp;gt;
&amp;lt;/input&amp;gt;
&amp;lt;input type="dropdown" token="FNAME"&amp;gt;
  &amp;lt;label&amp;gt;Select Sub-item&amp;lt;/label&amp;gt;
  &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
  &amp;lt;populatingSearch fieldForValue="FNAME" fieldForLabel="FNAME"&amp;gt;
    &amp;lt;![CDATA[|inputlookup item_1_lookup | search "Use Case"="$UCID$" | fields "Field Name" | rename "Field Name" AS "FNAME" | sort "FNAME"]]&amp;gt;
  &amp;lt;/populatingSearch&amp;gt;
&amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 12 Sep 2014 14:50:08 GMT</pubDate>
    <dc:creator>smashedpumpkins</dc:creator>
    <dc:date>2014-09-12T14:50:08Z</dc:date>
    <item>
      <title>Cascading Splunk dropdown will not populate on the first selection but will on the second?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Cascading-Splunk-dropdown-will-not-populate-on-the-first/m-p/122585#M7177</link>
      <description>&lt;P&gt;Hey folks, I hope you can help me out as I'm stumped. I have a cascading dropdown menu. The 2nd dropdown menu relies on the first to obtain its variables. When I load the page, the first dropdown menu populates with no issue. When I make a selection with the first dropdown menu the second dropdown menu does not populate. If I select a different item in the first dropdown menu, after having already made my first selection, the second dropdown menu populates just fine. It does not matter which item I select in the first drop down menu, the issue always occurs.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;input type="dropdown" token="UCID"&amp;gt;
  &amp;lt;label&amp;gt;Select Item&amp;lt;/label&amp;gt;
  &amp;lt;default&amp;gt;Default Item 1&amp;lt;/default&amp;gt;
  &amp;lt;populatingSearch fieldForValue="UCID" fieldForLabel="UCID"&amp;gt;
    &amp;lt;![CDATA[|inputlookup item_1_lookup | fields "Use Case" | rename "Use Case" AS "UCID" | uniq "UCID" | sort "UCID"]]&amp;gt;
  &amp;lt;/populatingSearch&amp;gt;
&amp;lt;/input&amp;gt;
&amp;lt;input type="dropdown" token="FNAME"&amp;gt;
  &amp;lt;label&amp;gt;Select Sub-item&amp;lt;/label&amp;gt;
  &amp;lt;default&amp;gt;*&amp;lt;/default&amp;gt;
  &amp;lt;populatingSearch fieldForValue="FNAME" fieldForLabel="FNAME"&amp;gt;
    &amp;lt;![CDATA[|inputlookup item_1_lookup | search "Use Case"="$UCID$" | fields "Field Name" | rename "Field Name" AS "FNAME" | sort "FNAME"]]&amp;gt;
  &amp;lt;/populatingSearch&amp;gt;
&amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 12 Sep 2014 14:50:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Cascading-Splunk-dropdown-will-not-populate-on-the-first/m-p/122585#M7177</guid>
      <dc:creator>smashedpumpkins</dc:creator>
      <dc:date>2014-09-12T14:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cascading Splunk dropdown will not populate on the first selection but will on the second?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Cascading-Splunk-dropdown-will-not-populate-on-the-first/m-p/122586#M7178</link>
      <description>&lt;P&gt;I finally managed to fix it. The default value for the first dropdown menu was no longer located in the lookup table. Once I removed the default value it worked normally again. Sounds like a Splunk bug.&lt;/P&gt;</description>
      <pubDate>Mon, 15 Sep 2014 15:16:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Cascading-Splunk-dropdown-will-not-populate-on-the-first/m-p/122586#M7178</guid>
      <dc:creator>smashedpumpkins</dc:creator>
      <dc:date>2014-09-15T15:16:17Z</dc:date>
    </item>
  </channel>
</rss>

