Problem using Parameters in Scripted Dataset Report
Hi
I have created a scripted dataset report but now I am having difficulty when I try to add in the parameters for the report. I can run the report in the development environment and get the results I expect but when I deploy the report I get an error message stating that 'The type of parameter "WITypeParameter" is expected as "Object[]", not "java.lang.String".'
Any assistance is greatly appreciated.
'XML for WISummary Report Using Scripted Dataset.txt' can be found at http://w3.ibm.com/connections/communities/service/html/communityview?communityUuid=4686dcb9-2d82-41c0-9a4b-6325b316c9ad#fullpageWidgetId=W68465f54b88a_4a96_b7f1_4e8ae8f6c71e&file=de2065c8-5638-4810-a564-391ade81e8e7
I have created a scripted dataset report but now I am having difficulty when I try to add in the parameters for the report. I can run the report in the development environment and get the results I expect but when I deploy the report I get an error message stating that 'The type of parameter "WITypeParameter" is expected as "Object[]", not "java.lang.String".'
Any assistance is greatly appreciated.
'XML for WISummary Report Using Scripted Dataset.txt' can be found at http://w3.ibm.com/connections/communities/service/html/communityview?communityUuid=4686dcb9-2d82-41c0-9a4b-6325b316c9ad#fullpageWidgetId=W68465f54b88a_4a96_b7f1_4e8ae8f6c71e&file=de2065c8-5638-4810-a564-391ade81e8e7
One answer
Hi
I have created a scripted dataset report but now I am having difficulty when I try to add in the parameters for the report. I can run the report in the development environment and get the results I expect but when I deploy the report I get an error message stating that 'The type of parameter "WITypeParameter" is expected as "Object[]", not "java.lang.String".'
Any assistance is greatly appreciated.
'XML for WISummary Report Using Scripted Dataset.txt' can be found at http://w3.ibm.com/connections/communities/service/html/communityview?communityUuid=4686dcb9-2d82-41c0-9a4b-6325b316c9ad#fullpageWidgetId=W68465f54b88a_4a96_b7f1_4e8ae8f6c71e&file=de2065c8-5638-4810-a564-391ade81e8e7
Hi Matt,
There are some differences in behaviour between the development environment and running the report on the RTC server. We've tried to document these differences here:
https://jazz.net/wiki/bin/view/Main/ReportsViewingDifferences
In particular, the entry about parameter values might be causing the different in your case.
Hope this helps.
james
RTC Reports Team Lead