Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

BaseEnum values filtration

(0) ShareShare
ReportReport
Posted on by 317

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.

  • GirishS Profile Picture
    27,823 Moderator on at
    RE: BaseEnum values filtration

    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

    Girish S.

  • GirishS Profile Picture
    27,823 Moderator on at
    RE: BaseEnum values filtration

    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.

    Thanks,

    Girish S

  • NewWatermelon Profile Picture
    317 on at
    RE: BaseEnum values filtration

    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.

  • GirishS Profile Picture
    27,823 Moderator on at
    RE: BaseEnum values filtration

    Hi J. DOE,

    Can you elaborate your question?

    Thanks,

    Girish S.

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.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,245 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,925 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans