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 the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...