Jump to content
We've recently updated our Privacy Statement, available here ×

where do you specify input parameter's where clause in jasperserver


oakrami

Recommended Posts

Hello,

I need to create a report with query based input parameter. I can create the parameter but do not know where to specify the where clause in the report on the server. Do you specify it in the ad hoc view or somewhere else? I need to specify WHERE customer_id = $P{cust_ID}.

I have seen an example where it is done in jaspersoft studio but not on the server.

 

Thanks for your help

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

In the Ad Hoc designer,  you can right-click on any field and select the option "create filter" to create an input control for that field. Depending on the data type of the field, there will by various operator options for that filter.  You can then generate a Report from the view that will have those input controls enabled in it. 

Link to comment
Share on other sites

Hello and thank you for your reply.

 

Thats right i need input conrol that would be populated dynamicly using a query and the user can do a selection. I know when you create an ad hoc view you can create a filter but the filters but that is not something i would need because i need to create multiple cascading input controls. For example user makes selection in control 1 and value in control 2 and 3 narrows down and the user can make further subsequent selection.

 

I can create the control by editing the report and adding input controls however the value of the report itself does not seem to change when i run it. I think there should be a way to link the input control and the report but I cant seem to figure it out.

 

Thanks

 

 

Oly

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...