Dashboards & Visualizations

Prepopulate Textbox with values from another view

RohiniJindam
Path Finder

Hi

How to prepopulate textbox with values from another view

Tags (1)

sideview
SplunkTrust
SplunkTrust

It's pretty easy with Sideview Utils ( http://sideviewapps.com/apps/sideview-utils ), and the app has a lot of documentation and examples to walk you through.

In a nutshell, you use the Sideview Redirector module right downstream from your table, to specify the URL to go to, as well as the arguments you want passed on that URL. Then you use tokens like $click.fields.A$ to specify the value of the A field anywhere in any of that.

On the target view you simply put a Sideview URLLoader module near the top of the view and then as long as the variable name in the querystring exactly matches the "name" param of your TextField, Pulldown, Checkbox, Checkboxes, Tabs, Radio SearchBar, etc.... then the value will be loaded into the corresponding form element automatically as the target page loads.

http://sideviewapps.com/apps/sideview-utils

kmattern
Builder

Have you considered using Sideview Utils? It is easy to pass parameters from one view to anotehr with Sideview. I wrote a wiki [1]: http://wiki.splunk.com/Dynamically_Editing_Lookup_Tables that explains how to pass parameters to textfields on drilldown.

Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...