Forward param from URL to be used in iReport

Hi,

I created a report with iReport Designer (text label + param), when I click on Preview and I put number, its will be displayed in the Report.

Now, I want to forward the param using URL :

http://localhost:8087/JasperReportsIntegration/report?_repName=report2&_repFormat=pdf&_dataSource=default&_outFilename=&_repLocale=de_DE&_repEncoding=UTF-8&p_id=123 

Only the text label is displayed :

 

Thanks in advance.

Best Regards.

Rayen.Drissi's picture
Joined: Jul 2 2015 - 5:38am
Last seen: 5 years 6 months ago

2 Answers:

Assuming your parameter is named as p_id in your report template, did you deploy this report with an input control p_id in the report unit "Report2" ?

tchen's picture
123033
Joined: Feb 27 2008 - 7:33am
Last seen: 5 hours 44 min ago

Hi,

Yes I used a param named 'p_id' in the report template.

Best Regards.

 

Rayen.Drissi's picture
Joined: Jul 2 2015 - 5:38am
Last seen: 5 years 6 months ago
Feedback