Dashboards & Visualizations

Calling a View from inside another View

alenseb
Communicator

Hi,

I am trying to call a View on click of a button from an other View.
On click of this button, a new windows opens but the URL there gets appended by "?q=search **"
Is there way to escape this?
This URL which is getting called:
http://user4-pc:8000/en-US/app/MyAppName/MyView?q=search%20***
If the called is the following, then it serves my purpose--
http://user4-pc:8000/en-US/app/MyAppName/MyView

Code from the view


GMaps

True

DenialGMap


0 Karma

sideview
SplunkTrust
SplunkTrust

I don't think that there is any way to stop the ?q=search behavior with the core ViewRedirector module.

However you could download the latest Sideview Utils from the sideview site ( http://sideviewapps.com/apps/sideview-utils/ ), and that will give you the Redirector module that you can use instead of ViewRedirector.

With Redirector your config would look like this. And I removed the HiddenSearch module because I don't think it was doing anything (besides perhaps changing "?q=search *" to "?q=search").

Anyway, here's the config with Redirector instead of ViewRedirector.

<module name="SubmitButton" layoutpanel="panel_row2_col1">
   <param name="label">GMaps</param>

   <module name="Redirector"> 
     <param name="url">DenialGMap</param>
     <param name="popup">True</param>
   </module>
</module>
0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...