Forward param from URL to be used in iReport

0

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: 1 year 5 months ago

2 Answers:

0

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
43989
Joined: Feb 27 2008 - 7:33am
Last seen: 2 weeks 5 hours ago
0

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: 1 year 5 months ago
Feedback