HTML Report Hyperlink not working

Jaspersoft Community 'Read-Only' as of July 8, 2022

Transition to New TIBCO Community Just Weeks Away

You can still search, review wiki content, and review discussions in read-only mode. Please email with questions or issues requiring TIBCO review or response.

Hello there,

I am having Jasper Report library 4.5.1. Recently we planned to upgrade library to latest version of Jasper Report API i.e. 6.3.0.

During migration, I noticed that HTML Hyperlink (which was displayed and worked properly on 4.5.1) is not getting displayed. I am trying to open another jasper report on hyperlink click operation.

From Jasper Report Studio, have set parameters:

Hyperlink -> Link Target = Self

Hyperlink -> Lnk Type = ReportExecution

Hyperlink -> Parameters -> _report = "/report/reports/ChildReport.jrxml" (provided that Jasper Studio file structure having all .jrxml files under 'report' directory)

When I look at preview of thisreport, I see nothing on text field on which Hyperlink is set.


To verify whether it is working or not at all from jasper studio 6.3, have set below parameters:

Hyperlink -> Link Target = Self

Hyperlink -> Lnk Type = RemoteAnchor

Hyperlink -> Hyperlink Anchor Expression = ""

But still no link on text field.


Is there anything I am doing wrong here? Am I missing any configuration part?

parthbhagat's picture
Joined: Aug 22 2010 - 11:26pm
Last seen: 1 year 9 months ago

I have created the Japsersoft dashbaord and added Hyperlink in text field. however when I published the report hyperlink did not work.

        <band height="50">
            <textField hyperlinkType="ReportExecution" hyperlinkTarget="Blank">
                <reportElement x="20" y="20" width="110" height="30" uuid="2cbdf20a-8462-4f7f-bf35-a1ce7873c025"/>
                    <font isUnderline="false"/>
                <hyperlinkParameter name="_report">
            <textField pattern="MMMMM dd, yyyy">
                <reportElement x="490" y="20" width="100" height="20" uuid="6e3ac26b-011f-42d5-b305-5420035b9868"/>
                <textFieldExpression><![CDATA[new java.util.Date()]]></textFieldExpression>


lokeshjaiswal - 4 years 4 months ago

1 Answer:

You'll need to set Link Type to "Reference"

hozawa's picture
Joined: Apr 24 2010 - 4:31pm
Last seen: 3 years 2 weeks ago

Thanks hozawa. Now able to see link. But it is not looks like link. It looks like normal text, until we hover mouse on the link.

Anyways, thats a different discussion. Have used to check that whether hyperlink actually works or not or I am having some config issue.

Prime issue with the report is Link Type = ReportExecution. How can I perform drilldown to another report?

parthbhagat - 5 years 9 months ago

Hi, how can you pass parameter if you use reference as link type?

alexasr1991 - 3 years 1 month ago

Hi Alessandro, please ask a new question here:

kkumlien - 3 years 1 month ago