Notifications
Announcements
No record found.
Hi,
I have a field in a table of type Enum.I would like to display this field on form filtered.
Is there is a reliable way to filter Enum values?
Thanks in advance.
Hi J. DOE,
Can you elaborate your question?
Thanks,
Girish S.
My Enum contains Element1, Element2, Element3.
My field is based on that Enum.
I would like to show just (Element1, Element3) or (Element2, Element3) on my lookup dropdown list conditionally.
Please go through the below link.
https://anithasantosh.wordpress.com/2019/11/20/filter-enum-values-in-form-lookup-d365-fo/
In the link they have explained it for D365 but you can follow the same procedure to filter enum values lookup in ax 2012 also.
Girish S
Also I don't think you can filter enum based on the condition.
Link provided above will initialize enum value at form init method once and cannot be changed based on the form values at run time.
Thanks
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 551 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
BillurSamdancioglu 278 Most Valuable Professional