Initialize collection parameter

0

I created a parameter which is java.util.Collection . I want to initialize this paramater with some String values. How can i achieve this?

StudioUser_100's picture
Joined: Feb 3 2015 - 8:09am
Last seen: 4 years 5 months ago

1 Answer:

0

Using something like this:

Arrays.asList("VALUE1","VALUE2",.....)

mlopez_1's picture
910
Joined: Oct 21 2013 - 8:08am
Last seen: 22 hours 27 min ago

i have already tried that, but when i preview my report my filter has no elements. I set this in default value expression

StudioUser_100 - 4 years 9 months ago

Try to show parameter in report and if it's well initialized the problem will be other

mlopez_1 - 4 years 9 months ago

Thanks. You are right!!!

StudioUser_100 - 4 years 9 months ago
Feedback
randomness