<?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: how can i remove the default &amp;quot;All&amp;quot; option ?? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19005#M291</link>
    <description>&lt;P&gt;thanks jonuwz&lt;/P&gt;</description>
    <pubDate>Tue, 05 Feb 2013 07:30:54 GMT</pubDate>
    <dc:creator>rakesh_498115</dc:creator>
    <dc:date>2013-02-05T07:30:54Z</dc:date>
    <item>
      <title>how can i remove the default "All" option ??</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/18999#M285</link>
      <description>&lt;P&gt;Hi..&lt;/P&gt;

&lt;P&gt;I have a automatic pulldown control whose values are populated from a search query..in this i am getting a default value as "All" , i dont want to give to many options for the users...how can i remove this default "All" option .. please help..??&lt;/P&gt;

&lt;P&gt;here is the code for  reference ..&lt;/P&gt;

&lt;P&gt;yeah Ayn..i have seen the docs but couldnt find ..here is the code ..&lt;/P&gt;

&lt;P&gt;&lt;VIEW autocancelinterval="90" ispersistable="true" issticky="false" isvisible="true" objectmode="viewconf" onunloadcanceljobs="true" template="dashboard.html"&gt;&lt;BR /&gt;
    &lt;LABEL&gt;Report&lt;/LABEL&gt;&lt;BR /&gt;
    &lt;MODULE name="AccountBar" layoutpanel="appHeader"&gt;&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;MODULE name="AppBar" layoutpanel="appHeader"&gt;&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;MODULE name="SideviewUtils" layoutpanel="appHeader"&gt;&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;MODULE name="Message" layoutpanel="messaging"&gt;&lt;BR /&gt;
        &lt;OBJECT&gt;&lt;PARAM name="filter" /&gt;*&lt;BR /&gt;
        &lt;PARAM name="clearOnJobDispatch" /&gt;False&lt;BR /&gt;
        &lt;PARAM name="maxSize" /&gt;2&lt;BR /&gt;
    &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;BR /&gt;
    &lt;MODULE name="Search" layoutpanel="panel_row4_col1" autorun="True"&gt;&lt;BR /&gt;
        &lt;OBJECT&gt;&lt;PARAM name="search" /&gt;|inputlookup report.csv | dedup gateway | sort gateway&lt;BR /&gt;
        &lt;MODULE name="Pulldown"&gt;&lt;BR /&gt;
            &lt;PARAM name="float" /&gt;left&lt;BR /&gt;
            &lt;PARAM name="searchFieldsToDisplay" /&gt;&lt;BR /&gt;
                &lt;LIST&gt;&lt;BR /&gt;
                    &lt;PARAM name="value" /&gt;gateway&lt;BR /&gt;
                    &lt;PARAM name="label" /&gt;gateway&lt;BR /&gt;
                &lt;/LIST&gt;&lt;BR /&gt;
            &lt;BR /&gt;
            &lt;PARAM name="name" /&gt;gateway&lt;BR /&gt;
            &lt;PARAM name="template" /&gt;gateway="$value$"&lt;BR /&gt;
            &lt;PARAM name="label" /&gt;gateway&lt;BR /&gt;
            &lt;MODULE name="Search"&gt;&lt;BR /&gt;
                &lt;PARAM name="search" /&gt;|inputlookup report.csv | search  $gateway$ |  dedup report_name | sort report_name&lt;BR /&gt;
                &lt;MODULE name="Pulldown"&gt;&lt;BR /&gt;
                    &lt;PARAM name="searchFieldsToDisplay" /&gt;&lt;BR /&gt;
                        &lt;LIST&gt;&lt;BR /&gt;
                            &lt;PARAM name="value" /&gt;report_name&lt;BR /&gt;
                            &lt;PARAM name="label" /&gt;report_name&lt;BR /&gt;
                        &lt;/LIST&gt;&lt;BR /&gt;
                    &lt;BR /&gt;
                    &lt;PARAM name="name" /&gt;report_name&lt;BR /&gt;
                    &lt;PARAM name="template" /&gt;report_name="$value$"&lt;BR /&gt;
                    &lt;PARAM name="label" /&gt;report_name&lt;BR /&gt;
                    &lt;MODULE name="Search"&gt;&lt;BR /&gt;
                        &lt;PARAM name="search" /&gt;|inputlookup report.csv | search $gateway$ $report_name$&lt;BR /&gt;
                        &lt;MODULE name="Pager"&gt;&lt;BR /&gt;
                            &lt;PARAM name="entityName" /&gt;results&lt;BR /&gt;
                            &lt;MODULE name="SimpleResultsTable"&gt;&lt;BR /&gt;
                                &lt;PARAM name="entityName" /&gt;results&lt;BR /&gt;
                                &lt;PARAM name="displayRowNumbers" /&gt;False&lt;BR /&gt;
                            &lt;/MODULE&gt;&lt;BR /&gt;
                        &lt;/MODULE&gt;&lt;BR /&gt;
                        &lt;MODULE name="HTML"&gt;&lt;BR /&gt;
                            &lt;PARAM name="html" /&gt;&lt;BR /&gt;
            search exected is &lt;BR /&gt;
                            &lt;BR /&gt;
                        &lt;/MODULE&gt;&lt;BR /&gt;
                    &lt;/MODULE&gt;&lt;BR /&gt;
                &lt;/MODULE&gt;&lt;BR /&gt;
            &lt;/MODULE&gt;&lt;BR /&gt;
        &lt;/MODULE&gt;&lt;BR /&gt;
    &lt;/OBJECT&gt;&lt;/MODULE&gt;&lt;BR /&gt;
&lt;/VIEW&gt;&lt;/P&gt;

&lt;P&gt;for these pulldowns i need to remove the default "All" option&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 13:13:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/18999#M285</guid>
      <dc:creator>rakesh_498115</dc:creator>
      <dc:date>2020-09-28T13:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: how can i remove the default "All" option ??</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19000#M286</link>
      <description>&lt;P&gt;Which module are you using? Which parameters are you giving it? Code, please. Also, I'm assuming you read relevant docs already...&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2013 19:16:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19000#M286</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-02-04T19:16:12Z</dc:date>
    </item>
    <item>
      <title>Re: how can i remove the default "All" option ??</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19001#M287</link>
      <description>&lt;P&gt;i am using splunk 4.3.2 version...pls help..&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2013 19:32:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19001#M287</guid>
      <dc:creator>rakesh_498115</dc:creator>
      <dc:date>2013-02-04T19:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: how can i remove the default "All" option ??</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19002#M288</link>
      <description>&lt;P&gt;The 1st thing you should do is read the module documentation. Always do this. it will save you a lot of time.&lt;/P&gt;

&lt;P&gt;Connect to your splunk server, and go to &lt;A href="https://whatever:8000/**modules**"&gt;https://whatever:8000/**modules**&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Now read the doc for Pulldown.&lt;/P&gt;

&lt;P&gt;You'll find this :&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;staticFieldsToDisplay&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;if left blank, the module will use an IMPLICIT default of "All" as the label and "*" as the value. By implicit I mean that the default is NOT reflected in the conf file but is wired into the code. Long story.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;What does this mean ?&lt;/P&gt;

&lt;P&gt;If you define &lt;CODE&gt;staticFieldsToDisplay&lt;/CODE&gt;, &lt;STRONG&gt;All&lt;/STRONG&gt; will not be displayed.&lt;/P&gt;

&lt;P&gt;Simple.&lt;/P&gt;

&lt;P&gt;So just add this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;param name="staticFieldsToDisplay"/&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 04 Feb 2013 21:49:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19002#M288</guid>
      <dc:creator>jonuwz</dc:creator>
      <dc:date>2013-02-04T21:49:52Z</dc:date>
    </item>
    <item>
      <title>Re: how can i remove the default "All" option ??</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19003#M289</link>
      <description>&lt;P&gt;This is what I feared when rakesh said he had read the docs...&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2013 22:05:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19003#M289</guid>
      <dc:creator>Ayn</dc:creator>
      <dc:date>2013-02-04T22:05:58Z</dc:date>
    </item>
    <item>
      <title>Re: how can i remove the default "All" option ??</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19004#M290</link>
      <description>&lt;P&gt;If you're using a relatively recent Sideview Utils you want to use the "staticOptions" param.  the default behavior if there is no such param,  is to have a single "All" option whose value is "*".   However you can configure the Pulldown with  &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;param name="staticOptions"&amp;gt;&amp;lt;/param&amp;gt;&lt;/CODE&gt;  &lt;/P&gt;

&lt;P&gt;to remove the All,  and you can also easily replace it with one or more different static options. &lt;/P&gt;

&lt;P&gt;Note that if you're using an old version of Sideview Utils (1.X),  you will have to use the older "staticValuesToDisplay" param.   Newer users can use either because the newer Pulldown is of course backwards compatible to use older params. &lt;/P&gt;

&lt;P&gt;Most of all though, as you have a reasonably current version of Sideview Utils,  there is a &lt;EM&gt;whole documentation page precisely about this topic&lt;/EM&gt;.  Navigate in the Sideview Utils menus to&lt;/P&gt;

&lt;P&gt;"Module Documentation &amp;gt; The Pulldown Module &amp;gt; Configuring the 'all' options"&lt;/P&gt;

&lt;P&gt;Note that while there is a lot of information at the &lt;A href="http://yourhost:8000/en-US/modules"&gt;http://yourhost:8000/en-US/modules&lt;/A&gt; URL,  that's more reference documentation and the vast majority of the Sideview Utils documentation is in the app itself. &lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2013 23:34:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19004#M290</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-02-04T23:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: how can i remove the default "All" option ??</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19005#M291</link>
      <description>&lt;P&gt;thanks jonuwz&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 07:30:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19005#M291</guid>
      <dc:creator>rakesh_498115</dc:creator>
      <dc:date>2013-02-05T07:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: how can i remove the default "All" option ??</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19006#M292</link>
      <description>&lt;P&gt;Note that there better docs on this topic in "Module Documentation &amp;gt; The Pulldown Module &amp;gt; Configuring the 'all' options", and also that as of Utils 2.0 you have the option of using the slightly shorter param name "staticOptions" instead of the clunkier one "staticFieldsToDisplay".  the old param name remains backwards compatible though.&lt;/P&gt;</description>
      <pubDate>Tue, 05 Feb 2013 16:52:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/how-can-i-remove-the-default-quot-All-quot-option/m-p/19006#M292</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2013-02-05T16:52:28Z</dc:date>
    </item>
  </channel>
</rss>

