parthbhagat Posted September 7, 2016 Share Posted September 7, 2016 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 = SelfHyperlink -> Lnk Type = ReportExecutionHyperlink -> 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 = SelfHyperlink -> Lnk Type = RemoteAnchorHyperlink -> Hyperlink Anchor Expression = "http://www.google.com/"But still no link on text field. Is there anything I am doing wrong here? Am I missing any configuration part? Link to comment Share on other sites More sharing options...
Solution hozawa Posted September 7, 2016 Solution Share Posted September 7, 2016 You'll need to set Link Type to "Reference" Link to comment Share on other sites More sharing options...
parthbhagat Posted September 8, 2016 Author Share Posted September 8, 2016 Thanks hozawa. Now able to see www.google.com 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 www.google.com 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? Link to comment Share on other sites More sharing options...
lokeshjaiswal Posted February 22, 2018 Share Posted February 22, 2018 I have created the Japsersoft dashbaord and added Hyperlink in text field. however when I published the report hyperlink did not work. <pageHeader> <band height="50"> <textField hyperlinkType="ReportExecution" hyperlinkTarget="Blank"> <reportElement x="20" y="20" width="110" height="30" uuid="2cbdf20a-8462-4f7f-bf35-a1ce7873c025"/> <textElement> <font isUnderline="false"/> </textElement> <textFieldExpression><![CDATA["Hyperlink"]]></textFieldExpression> <hyperlinkParameter name="_report"> <hyperlinkParameterExpression><![CDATA["/Reports/CoreSystems/dashboardreport/2018/Blank_A4_Landscape"]]></hyperlinkParameterExpression> </hyperlinkParameter> </textField> <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> </textField> </band> </pageHeader> Link to comment Share on other sites More sharing options...
alexasr1991 Posted May 22, 2019 Share Posted May 22, 2019 Hi, how can you pass parameter if you use reference as link type? Link to comment Share on other sites More sharing options...
kkumlien Posted May 23, 2019 Share Posted May 23, 2019 Hi Alessandro, please ask a new question here: https://community.jaspersoft.com/answers Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now