Initialize collection parameter

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: 8 years 3 months ago

1 Answer:

Using something like this:

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

mlopez_1's picture
6227
Joined: Oct 21 2013 - 8:08am
Last seen: 1 hour 41 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 - 8 years 7 months ago

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

mlopez_1 - 8 years 7 months ago

Thanks. You are right!!!

StudioUser_100 - 8 years 7 months ago
Feedback