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

How Feature management handles enable/disable of fields or menuitem?

(0) ShareShare
ReportReport
Posted on by 35

I am analyzing feature management framework in D365. 

There are a few features: when it is enabled, the menu item or field will be visible, and vice versa.

Following are the examples:

1. There is feature named 'Populate product attribute values', which enables menu item 'Populate product attribute values' to path >> Product information management\ Periodic tasks.

2. There is feature named 'Post on-hand adjustments using configurable reason codes connected to offset accounts', if enabled it adds 'Offset account' field to Inventory management\ Setup\ Inventory\ Counting reason codes form.

I am trying to understand how that happens from back end, however could not find anything.

If anyone can guide me on this.

Thanks in advance!

I have the same question (0)
  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    Hi Pooja, Check this article on how a new feature can be created by code. Even standard code checks if feature is enabled then perform action. You can find it in various places by doing metadata Search on keyword 'isFeatureEnabled' in visual studio.

    paragchapre.com/.../

  • Pooja Rawat Profile Picture
    35 on at

    Thanks Mohit for replying!

    I understand the way standard code checks if feature is available or not. My question is, how standard is handling same thing on form or for menu item. How the UI elements enable/disable happens with feature. Tried to find same sort of logic on form method however it is not there. Curious to know that.

  • Suggested answer
    Mohit Rampal Profile Picture
    12,565 Moderator on at

    You can see the Feature class is set on Menu item and the class check if feature is enabled or not.

    pastedimage1683897099804v1.png

    pastedimage1683897109008v2.png

  • Pooja Rawat Profile Picture
    35 on at

    Thanks for answering Mohit!

    This is how it is handled.

    Thank you so much.

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
Abhilash Warrier Profile Picture

Abhilash Warrier 669 Super User 2025 Season 2

#2
André Arnaud de Calavon Profile Picture

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

#3
Martin Dráb Profile Picture

Martin Dráb 384 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans