All Apps and Add-ons

How to reload SideView TextField

richnavis
Contributor

I've created a view using sideview 2 dynamic sideview pulldowns and a textfield. The user chooses values from the pulldowns, then enters a value of his choosing in the textfield, then chooses a timeerange from the timepicker, then the submit button. This works fine for a single search, but if the user changes only the textfield and searches again, the search produces the same results. It seems the only way for the textfield to push updated values to the downstream searches, the user must refresh the page by changing one of the pulldowns. Is there a way to have the page autorefresh data from the textfield without having to re-choose the pulldowns?

0 Karma
1 Solution

sideview
SplunkTrust
SplunkTrust

This is a good question. I'm quite familiar with this and as of long-ago improvements to the TextField module, the problem became much harder to hit, but it's still there in certain specific cases.

To make a long story short, I'll bet that your Search module that ties all of this together, is upstream from the Button module. Change that so that the Search module is downstream from the Button, and the bug will go away. The change will have no other practical effect on the view. It's possible if you have an extremely complex view (i do not say this lightly), that you can hit the bug in other ways, but I think this simple change will fix your problem. Let me know how it works.

View solution in original post

sideview
SplunkTrust
SplunkTrust

This is a good question. I'm quite familiar with this and as of long-ago improvements to the TextField module, the problem became much harder to hit, but it's still there in certain specific cases.

To make a long story short, I'll bet that your Search module that ties all of this together, is upstream from the Button module. Change that so that the Search module is downstream from the Button, and the bug will go away. The change will have no other practical effect on the view. It's possible if you have an extremely complex view (i do not say this lightly), that you can hit the bug in other ways, but I think this simple change will fix your problem. Let me know how it works.

richnavis
Contributor

That did the trick!

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...