All Apps and Add-ons

App Context: How to change the header and replace pulldown for lookup updater Sideview page?

hyahmadi
Explorer

hello splunkers,
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)
thanks

sideview
SplunkTrust
SplunkTrust

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.

More precisely, delete these lines:

<module name="Search">
  <param name="search">| splunkentity apps/local | table name</param>

  <module name="Pulldown" layoutPanel="mainSearchControls">
    <param name="name">app</param>
    <param name="label">App:</param>
    <param name="valueField">name</param>
    <param name="staticOptions"></param>

    <module name="Search">
      <param name="search">| splunkentity data/lookup-table-files app="$app$" | table name</param>

      <module name="Pulldown">
        <param name="name">lookupName</param>
        <param name="label">Lookup Name:</param>
        <param name="valueField">name</param>
        <param name="staticOptions"></param>

and replace them with this single ValueSetter module.

<module name="ValueSetter">
  <param name="arg.app">YOUR_APP_NAME_HERE</param>
  <param name="arg.lookupName">YOUR_LOOKUP_NAME_HERE</param>

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.

0 Karma

somesoni2
Revered Legend

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).

http://answers.splunk.com/answers/25153/determine-the-current-app

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...