armercer Posted August 4, 2014 Share Posted August 4, 2014 I have a report with a table. The table data are results from a SQL query. I need to create a hyperlink from the field, $F{id}. The hyperlink needs to pass the value of $F{id} to the other report. Both reports work independently. I need to know how to link them so that my client can click on the id field and that field value is passed as a parameter to the other report. I am using JasperSoft Studio Community 5.6.0. I do not use JasperServer.Thank you. Link to comment Share on other sites More sharing options...
marianol Posted August 4, 2014 Share Posted August 4, 2014 JasperReports server handles that for you using the ReportExecution Hyperlink. But if you are not using JasperServer you will need to implement and handle the hyperlink even from within your web application. In that case you will create a standard Reference Hyperlink and in the Hyperlink Reference Expression you can specify an URL form your page that will handle the next report rendering, something like "http://myapp.com/reportrender.html?id=" + F{id}.In page 150 of the JasperReports Ultimate guide you have all the info regarding Hyperlinks http://community.jaspersoft.com/documentation/jasperreports-library-ultimate-guideHere is a screenshot of Studio with the property set to do a google search on the F{id} when the user clicks. Link to comment Share on other sites More sharing options...
khushal.solanki8 Posted May 18, 2017 Share Posted May 18, 2017 but it is not work on jaspersoft ireport 5.6.0 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