Jump to content

Passing Parameters from URL in ad hoc view


nageshit2011

Recommended Posts

  • 2 weeks later...
  • Replies 5
  • Created
  • Last Reply

Top Posters In This Topic

  • 9 months later...
  • 1 year later...
  • 1 year later...

Hi, Not sure about dashboards and hidden parameters, but I was struggling pass a parameter into a report I had developed from an Ad Hoc view. I had a filter which I set up in the AdHoc view which I created the report from. This is the solution I found:

 

- export the report (right click>export).

 

- find the file: TopicJRXML in the zip file which downloads.

 

- find the parameter name of the relevant filter. Its in the first few lines of the code. In my case the field displayed as 'record_id'......the parameter name was actually 'record_id4_1'

 

- append the parameter to your URL using the name you found in the Topic file as follows (using my example): ......&record_id4_1=CRM-0000003

 

That worked for me. I haven't tried anything more complex like multi-selects or ranges, but I think it should work as per the guidance. Its just about finding the correct parameter name. Unfortunately it doesn't tell you when you have the URL wrong, just defaults to the saved version of the report, which I suppose is useful in some ways but not that helpful when trying to get this right.

 

Hope that helps, might point you in the right direction!

 

Thanks

 

Jason

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...