how to set parameter in jasperserver pro report

How can i set parameter in my report using jasperserver pro.

I also want to add parameter in visualize function.

kalpesh.chavda's picture
Joined: Mar 11 2015 - 11:50pm
Last seen: 6 years 7 months ago

1 Answer:

Below information is useful 

Input controls/Parameters creatiion in Jasper Server. 

Create a folder called "Input Controls" in jasper server. Right click it and find  Add Resource option -> Click on it -> Select " Input controls" and set all the properties. 

From Jasper Studio : 

When you publish the report containing parameters automatically those will take to the server. Later you have to modify them. ( Right click the paramter and find it's properties to modify). 

In iReport: 

iReport has the flexibility to create parameters in one folder and make use of references of crated parameters to the reports. 

NOTE :  Parameters ID on the server should be same as parameter name in desktop tool(iReport or J.Studio). 

Visualize.js 

Read chapter-5 ( API references - Input Controls) in JasperReports-Server-Visualize.js-Guide.pdf

(Download the latest docs from docs section of this community site. 

Cheers..!!!

sadakar's picture
4628
Joined: Aug 14 2012 - 3:57am
Last seen: 7 months 1 week ago
Feedback
randomness