Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
PUBLIC CLOUD
PRIVATE CLOUD
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Intelligence (Analytics)
Scripts written inside getDefalutValueList() is not reflected in the report parameter
RepBIRT
Hi All,
For the report parameter of type list box with the option of allow multiple values, the script written inside the getDefaultValueList is selecting the values in the parameter dialog when it is displayed.
But if the option allow mulitple values is removed, then the value mentioned inside the getDefaultValueList is getting displayed as the java object when the paramenter dialog is dispalyed.
I have attached the sample, which contains the issue. Kindly provide a solution.
Find more posts tagged with
Comments
mwilliams
When allow multiple values isn't selected, you don't use the string array. Try this, instead:
var defaultValue = "test2";
defaultValue;
RepBIRT
Thanks Michael! The feedback worked