How to pass a parameter from text field hyperlink?

2

I have a report with a text field that, when clicked, drills down to another report via ReportExecution link type. It successfully drills down, but it seems like it is not passing the parameter to the drill down report. I have designed these reports in Studio Professional Edition (6.0.0 final) and deployed them to Jasper Server (6.1). The drill down report has an input control defined for this parameter in Jasper Server. 

 

Can anyone tell me what is going wrong?

jlongoria's picture
Joined: Aug 21 2015 - 8:03am
Last seen: 3 months 6 days ago

2 Answers:

0

Hi 

Hyperlinks on the text field can be done using below steps,

LinkTarget : Self

Link type : Report Execution

Parameters :

_report -----   2nd report path in the server

parameter_name ----- field _value (which value you want to pass to the 2nd report)

the parameter_name in the main report should match with parameter_name in the 2nd report.

if you need any further information let me know.Mostly it should work by using above steps.

Thanks

B Rama Krishna

 

RamaKrishna.B's picture
Joined: Nov 24 2013 - 2:12am
Last seen: 1 year 10 months ago
0

You should add the parameters to textfield hyperlink parameters. For example assume that there is parameter named 'param1' in both report. So in textfield hyperlink section. You should add param1 and mapped $P{param1}. add the parameters where you defined the drill down report path with '_report' in textfield hyperlink

zh3ntil's picture
521
Joined: Nov 19 2014 - 11:02pm
Last seen: 2 years 9 months ago
Feedback