Notifications
Announcements
No record found.
Hi,
I want to add an enum fiels to my report contract, where I can multi select it's values.
What should i write in my contract class and how to do it?
I think you want to do multiple selection in dialog. You should use the UIBuilder class for this.
community.dynamics.com/.../using-ui-builder-class-to-develop-ssrs-reports-in-microsoft-dynamics-ax-2012
It is not possible to make multiple selections in an enum field. You can fill enum values into tmp table and use SysLookupMultiSelectCtrl.
community.dynamics.com/.../402664
Hi junior AX ,
It's not possible to do that.
Please check the old thread for another solution:
community.dynamics.com/.../818876
Hi Will Wuu,
I saw another solution where we can add a new dataSet to the report with type AXEnumProvider. Any concerns about this one?
If you share the codes or link we can comment on it,
but this class is more for using ax enums in environments like EP. I don't think it will give you the option to choose more than one. (multi select)
Hi ergun,
Actually it worked, i created a list contract with type string for the purchStatus
And added a new dataset for the report with type ax enum provider and i was able to multiselect in the dialog.
However it seems i need the ui builder class, so i'll need to add all contract parameters as a dialog field. But can you help me with the enum list
What should i do exactly in the ui builder to multi select enum values for the purchStatus enum.
What methods to use in ui builder also can you help me with the code
What you did ? what you couldn't and why you couldn't
If you tell me details, I'll try to help. I don't see anything more to add than what I wrote at the beginning.
Give it a try, as you get stuck or get errors, share the situation with code samples and we'll help.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 611 Most Valuable Professional
André Arnaud de Cal... 529 Super User 2025 Season 2
Sohaib Cheema 285 User Group Leader