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!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

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

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...