How to open another report or a sub report using hyperlink (Constraint no Jasper Server is used)?

I am new to Jasper and have been searching online for an example that would use hyper link on the report. Clicking the hyper link will open another report. 

Can I acheive this without using Jasper Server? If I deploy my application on a tomcat server or have a simple client side application, how can I acheive this? I saw a tutorial that uses a Jasper server to view a hyperlinked report.

Also I am using iReport Designer to design the report.

abidi's picture
61
Joined: Oct 21 2014 - 10:10am
Last seen: 7 years 10 months ago

1 Answer:

Please follow the following steps to open the hyperlinked report without using JasperReport Server :-

1) Keept the compiled jrxml of the hyperlinked report ready to use.

2) While creating the hyperlink report pass the path of the compiled jrxml to the parameter 
_report.

3)Then try executing the main report. I hope this will help you out.

 

Thanks

Honey

honeybakliwal's picture
Joined: Sep 8 2010 - 2:37am
Last seen: 4 years 9 months ago

Do you succeed with your method?

liemth_oracle - 8 years 6 months ago

Thanks for the reply. I was able to test it on Jasper Server as well.

abidi - 8 years 6 months ago
Feedback
randomness