Hyperlink reference expression

Hi,

Please if someone can help, I want to create a link from a mainreport to an other report using the hyperlink. I use a text field and right-click Hyperlink. I choose reportExecution, but what then?

Hyperlink reference expression like "http://localhost:8080/jasperserver-pro/flow.html?_flowId=viewReportFlow&standAlone=true&_flowId=viewReportFlow&ParentFolderUri=%2Fpublic&reportUnit=%2Fpublic%2FanotherReport" or "/anotherReport" ? Neither works. Do I have to set anything else? I also trie adding parameter "_report" with above values.  

What do I have to set in the hyperlink box. Right know I do not want any parameters.

Thanks in advance!
Caroline

 

caroline4ever's picture
Joined: Jul 19 2012 - 5:33am
Last seen: 10 years 11 months ago

2 Answers:

Hi, Caroline,

You're correct, the hyperlink type should be ReportExecution.

Next click the "Link parameters" tab. Click add.

Parameter name = _report
Parameter class name = java.lang.String
Value expression = "/public/anotherReport"

Try that and see if that works.

lisacbeaton's picture
Joined: Mar 27 2012 - 9:24am
Last seen: 9 years 5 months ago

It worked! Thanks!!

caroline4ever's picture
Joined: Jul 19 2012 - 5:33am
Last seen: 10 years 11 months ago
Feedback
randomness