- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
splunkreal
Motivator
09-06-2017
06:02 AM
Hello guys,
how do you auto collapse panel if no result is found (see attached)?
Thanks.
* If this helps, please upvote or accept solution if it solved *
1 Solution
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

cmerriman
Super Champion
09-06-2017
12:51 PM
try adding this in the search node in the simple xml of your panel. use depends="$hide$"
in the panel node:
<progress>
<condition match="'job.resultCount' > 0">
<set token="hide">true</set>
</condition>
</progress>
- Mark as New
- Bookmark Message
- Subscribe to Message
- Mute Message
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

cmerriman
Super Champion
09-06-2017
12:51 PM
try adding this in the search node in the simple xml of your panel. use depends="$hide$"
in the panel node:
<progress>
<condition match="'job.resultCount' > 0">
<set token="hide">true</set>
</condition>
</progress>
