web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Is it possible to add the Enum values from front end

(0) ShareShare
ReportReport
Posted on by

Hi All,

We know that enums are added or removed from backend, is there any way that we can add or remove the enum values from front end , user can add perticular enums from form.

Please advise us.

Regards,

Akbar

I have the same question (0)
  • Verified answer
    GirishS Profile Picture
    27,827 Moderator on at

    Hi Akbarpasha,

    This is not possible in D365 F&O. Enum elements can be added only from the backend. If you want to remove Enum elements at runtime you can add code for that. But adding or removing Enum elements from front end is not possible.

    Thanks,

    Girish S.

  • Akbarpasha Profile Picture
    on at

    Thank yolu Girirsh for the confirmation, we also knows the same it can be done from backend only.

  • Verified answer
    GirishS Profile Picture
    27,827 Moderator on at

    Also, if you do like that, it will be hard for developers to find out which Enum values are added and which Enum values are deleted.

    Suppose there is some code written against one Enum value and the user deleted that Enum value from front end.

    Now it will throw a build error that Enum element does not exist.

    So, it's not recommended to change the metadata of the Enum elements. Instead control them in the code level.

    Thanks,

    Girish S.

  • Suggested answer
    Martin Dráb Profile Picture
    237,795 Most Valuable Professional on at

    If you want something where users can add and remove elements, use a table, not an enum.

  • Akbarpasha Profile Picture
    on at

    Thank you Marting for the Info,

    Requirement is , users wants to add new project stages from front end, project stage is enum, and we can add the new stages from back end only.

  • André Arnaud de Calavon Profile Picture
    300,911 Super User 2025 Season 2 on at

    Hi Akbarpasha,

    There are three user defined stages which can be renamed from the front-end and you can configure what transactions can be posted with each stage. This can be found on the project management parameters.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 660 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 549 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 307 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans