<?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: App Context: How to change the header and replace pulldown for lookup updater Sideview page? in All Apps and Add-ons</title>
    <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/App-Context-How-to-change-the-header-and-replace-pulldown-for/m-p/194969#M20135</link>
    <description>&lt;P&gt;Follow the steps from below post to set the current App context and then you can remove the App dropdown (and update lookup table query to use variable for current app context).&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/25153/determine-the-current-app"&gt;http://answers.splunk.com/answers/25153/determine-the-current-app&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 26 Aug 2014 18:20:04 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2014-08-26T18:20:04Z</dc:date>
    <item>
      <title>App Context: How to change the header and replace pulldown for lookup updater Sideview page?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/App-Context-How-to-change-the-header-and-replace-pulldown-for/m-p/194968#M20134</link>
      <description>&lt;P&gt;hello splunkers,&lt;BR /&gt;
I have the xml code for the lookup updater sideview but I just want to change the header of the page (remove the pulldown for search/application and search/lookup file in order to work directly on my app and my lookup updater)how to change parametre to do that?(replace pulldown)&lt;BR /&gt;
thanks&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2014 09:29:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/App-Context-How-to-change-the-header-and-replace-pulldown-for/m-p/194968#M20134</guid>
      <dc:creator>hyahmadi</dc:creator>
      <dc:date>2014-08-26T09:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: App Context: How to change the header and replace pulldown for lookup updater Sideview page?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/App-Context-How-to-change-the-header-and-replace-pulldown-for/m-p/194969#M20135</link>
      <description>&lt;P&gt;Follow the steps from below post to set the current App context and then you can remove the App dropdown (and update lookup table query to use variable for current app context).&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/25153/determine-the-current-app"&gt;http://answers.splunk.com/answers/25153/determine-the-current-app&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 26 Aug 2014 18:20:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/App-Context-How-to-change-the-header-and-replace-pulldown-for/m-p/194969#M20135</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-08-26T18:20:04Z</dc:date>
    </item>
    <item>
      <title>Re: App Context: How to change the header and replace pulldown for lookup updater Sideview page?</title>
      <link>https://community.splunk.com/t5/All-Apps-and-Add-ons/App-Context-How-to-change-the-header-and-replace-pulldown-for/m-p/194970#M20136</link>
      <description>&lt;P&gt;In order to not disrupt any other logic on the page,   the best thing to do is to replace the two Pulldowns and their searches  with a ValueSetter. &lt;/P&gt;

&lt;P&gt;More precisely,  delete these lines: &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="Search"&amp;gt;
  &amp;lt;param name="search"&amp;gt;| splunkentity apps/local | table name&amp;lt;/param&amp;gt;

  &amp;lt;module name="Pulldown" layoutPanel="mainSearchControls"&amp;gt;
    &amp;lt;param name="name"&amp;gt;app&amp;lt;/param&amp;gt;
    &amp;lt;param name="label"&amp;gt;App:&amp;lt;/param&amp;gt;
    &amp;lt;param name="valueField"&amp;gt;name&amp;lt;/param&amp;gt;
    &amp;lt;param name="staticOptions"&amp;gt;&amp;lt;/param&amp;gt;

    &amp;lt;module name="Search"&amp;gt;
      &amp;lt;param name="search"&amp;gt;| splunkentity data/lookup-table-files app="$app$" | table name&amp;lt;/param&amp;gt;

      &amp;lt;module name="Pulldown"&amp;gt;
        &amp;lt;param name="name"&amp;gt;lookupName&amp;lt;/param&amp;gt;
        &amp;lt;param name="label"&amp;gt;Lookup Name:&amp;lt;/param&amp;gt;
        &amp;lt;param name="valueField"&amp;gt;name&amp;lt;/param&amp;gt;
        &amp;lt;param name="staticOptions"&amp;gt;&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and replace them with this single ValueSetter module. &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;module name="ValueSetter"&amp;gt;
  &amp;lt;param name="arg.app"&amp;gt;YOUR_APP_NAME_HERE&amp;lt;/param&amp;gt;
  &amp;lt;param name="arg.lookupName"&amp;gt;YOUR_LOOKUP_NAME_HERE&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Another approach you might have tried (but that I think would have failed) is to go hardcode the tokens in the searches.  However some customBehaviors are operating on this page, and those things will need the app and lookupName tokens to be there.&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2014 17:29:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/All-Apps-and-Add-ons/App-Context-How-to-change-the-header-and-replace-pulldown-for/m-p/194970#M20136</guid>
      <dc:creator>sideview</dc:creator>
      <dc:date>2014-08-28T17:29:17Z</dc:date>
    </item>
  </channel>
</rss>

