Jump to content
Changes to the Jaspersoft community edition download ×

steps to generate subreport via hyperlink image


neetikamittal

Recommended Posts

Hi,

Can any body tell the steps to generate a sub report via hyperlink.

Like if I put a image in my report then on right click in properties menu I got one tab named hyperlink.

But now I don't know what HYPERLINK TYPE I should choose to connect to another report 1.e subreport.

What should I put in anchor name expression.

 

I am using 1.2.4 ,jdk1.5,mysql5.0,tomcat5.5

 

Plz tell me each and every step.

 

Thanks

Neetika

Link to comment
Share on other sites

  • 2 months later...
  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

There is not a ready to use drilldown feature in JR. You should use a separate application reachable with a link that can generate a report (i.e. requested clicking on a link inside a document).

 

Links in JR are supported for textfields, images, charts, single chart values, etc....

 

The typical flow is:

1. The user generate a report

2. The user clicks on a link in the report, i.e.:

http://x.y.z/mywebapp/myRunReport?reportid=123&country=ITALY

3. A servlet (i.e. myRunReport) will generate a new report with the specified data.

 

To customize the url, you can define your own hyperlink type.

 

JasperIntelligence supports this kind of approach and you can have create drilled down/up reports.

 

Giulio

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