Jump to content
We've recently updated our Privacy Statement, available here ×
  • How to make RemoteAnchor fucntionality works to the anchor from Hyperlinked report.


    Jivan Phadtare
    • Version: v8.2.0 Product: JasperReports® Server

    Requirement :

    There are two reports, A and B reports.
    Threre is a hyperlink from report A to report B.

    When click on hyperlink from report A it should hyperlink to the anchor in report B. 
    However, currently with the help of a remote anchor, it does not hyperlink to the anchor destination.


    Resolution :

    In report_A, modify the hyperlink by changing the 'Link Type' to 'Reference' and appending "&anchor=last" to the end of the Hyperlink Reference Expression configured URL.

    Below is the URL where bold highlighted part is appended.

    "http://localhost:8080/jasperserver-pro/flow.html?_flowId=viewReportFlow&_flowId=viewReportFlow&ParentFolderUri=%2F02228358&reportUnit=%2F02228358%2FreportB_1&standAlone=true&anchor=last"

    Upon clicking the text field in report_A, this link it transitions to the corresponding text field in the summary area of report_B.

    For reference, attached video file : " 02228358_Video.webm' of working anchor.

    studio jrxml files used in this article attached here for the reference purpose. (File_Name : "reportA.jrxml" and "reportB.jrxml")

    reportA.jrxml reportB.jrxml


    User Feedback

    Recommended Comments

    There are no comments to display.



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