Dashboards & Visualizations

Populating Search

hxa27
Path Finder

Hi,

I am trying to populate a search in dropdown option. I tried a couple things but I do not know why it is not working. my XML code looks like that:

<fieldset autoRun="true" submitButton="true">
     <input type="dropdown" token="name" searchWhenChanged="true">
        <label>Select a Catergory:</label>
         <!-- Define the choices with a populating search -->
         <populatingSearch fieldForValue="name" fieldForLabel="name">
            |dbquery My_Database_Name  "select distinct Name from Table1_Name e INNER JOIN Database_name..Table2_name r on My_ReportID1=My_ReportID2 where Name='My_condition '"
         </populatingSearch>
     </input>
     </fieldset>

I used the same populating search in a different query and it was work just fine. I don't know why this is not working..

Thanks in advance

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

Make sure you're not mixing name with Name when looking for the field/column.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

Make sure you're not mixing name with Name when looking for the field/column.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...