How do I send a Array of data throug a Hyperlink/Drill down report

0

I want to send a array of ID's of unknown length through a URL (array can contain anything from 1 to 15 ID's)

MORE DETAILS:

Currently I am sending Parameters through like this

...&date=2012/02/02&VEFactorSelection=3&nameType=2

This works fine for Variables that can only have a single value (String, Int, Date etc.)

But I now need to send a array through and be able to read it again

How do I do this?

MORE INFO: The data is being sent from one report to the drill down report (JasperReports Server 5.0.1)

I'm using iReport 5.0.0 for reports creation

andre.erasmus's picture
Joined: Mar 19 2013 - 2:33am
Last seen: 4 years 3 months ago

Hello,

you should not do this as you shown in your comment.

If you want to pass the parameter with type of Array/Collection to the drill down report you just need to

open your hypelink configuration, click Add and then add the parameter to which this value should be passed

and the name of this parameter as is (for example $P{parameter_with_type_of_array})

This should be enough to impelemnt this design.

 

akonkin - 5 years 8 months ago

1 Answer:

0

Hello,

you should not do this as you shown in your comment.

If you want to pass the parameter with type of Array/Collection to the drill down report you just need to

open your hypelink configuration, click Add and then add the parameter to which this value should be passed

and the name of this parameter as is (for example $P{parameter_with_type_of_array})

This should be enough to impelemnt this design.

akonkin's picture
65623
Joined: Mar 28 2012 - 4:29am
Last seen: 1 year 9 months ago
Feedback
randomness