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!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...