*This post is locked for comments
*This post is locked for comments
Yes, it's working now ..
Most thanks to István Orosz
Hi,
You can use Global::strSplit(str _stringToSplit, str _delimiters) to split string into a list.
Kind regards,
István
Thanks kvnkk, but would you please declare more ..
Just read elements from list using ListIterator and combined the string values with comma operator and pass as single string (“s1,s2s,S3”) This will works for you..
Thanks István Orosz for reply and sorry to late I was doing more trials ..
for your Question the answer is yes I pass my string variable 'emplDepartment' directly to SrsReportRunUtil.ConvertAnyType2Str() .. now how can i convert it to be read as List?
Hi ,
I think instead of above link can use below links :-
dynamicsaxinsight.wordpress.com/.../ax-2012-multi-select-lookup-for-ssrs-report-dialog
www.dynamics101.com/using-ui-builder-class-to-develop-ssrs-reports-microsoft-dynamics-ax-2012
dynamicsaxinsight.wordpress.com/.../ax-2012-multi-select-lookup-for-ssrs-report-dialog
May in your case issue with conversion SrsReportRunUtil\ConvertAnyType2Str system unable convert data in to specif type.. like init,str,ral,int64 etc.. and ConvertAnyType2Str will be having different switch and in your case none of the case was matched..
Hi,
As I can understand, you did not modified the report contract class and the UI interface, just built a custom form and tried to pass multiple parameters to the controller? Do you pass your string variable 'emplDepartment' directly to SrsReportRunUtil.ConvertAnyType2Str(), because if multi-value, then it expects value as a List not as string.
Maybe you can check this article and modify your contract (and UIBuilder classes if needed): AX 2012 R3 SSRS reports to multi select in parameter
Kind regards,
István
Mohamed Amine Mahmoudi
100
Super User 2025 Season 1
Community Member
46
shanawaz davood basha
6