Jump to content
We've recently updated our Privacy Statement, available here ×

Creating links in reports


hnijh

Recommended Posts

  • 2 weeks later...
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Creating a Hyperlink to Another Report
--------------------------------------

    --    In a text field properties page, go to the "Hyperlink" tab.

    --     Set the "Hyperlink Target" to "Blank" if you wish to open a new browser window for the report.

    --    Set the "Hyperlink Type" to "ReportExecution".

    --    Go to the "Link parameters" tab.

    --    You must enter a parameter called "_report", which the Jasper server interprets as the URI to the report unit
            location.  In the value expression field, add this pathname in quotes.  The path must point to a "report
            unit" and not a jrxml file.

    --    To pass parameters from the "calling" report to the subreport, create the same parameters in the "Input
            Controls" folder for the report unit and also within the subreport itself.  It's mandatory that you create
            the parameters within the "Input Controls" folder or the parameters will be null.

    --    When setting up link parameters, you may use any legal value expression as allowed by Ireport, like setting
            to another parameter, field or simple string.
 

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