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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

when to use Overlayering Development approach in AX7 ?

(0) ShareShare
ReportReport
Posted on by 3,177

Hi,  Is there any case or scenario where we have no option but to use Overlayering development approach ?

could you please let me know such scenarios where we have to use Overlayering development approach and not Extension approach.

Thank you

Santosh.

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    When you cannot use the extension approach.

    Basically you want do this:

    1 Extension Approach

    2. Over-layer using delegates (Minimizing customization code).

    3 Full customization.(Bad idea )

  • Verified answer
    André Arnaud de Calavon Profile Picture
    305,810 Super User 2026 Season 1 on at

    Hi Santosh,

    There are some parts of the AOT where overlayering is not possible. E.g. you cannot extend Enums which are not set to 'IsExtensible'. Also you cannot change an existing index in an extensions model. These are for sure customizations as overlayering.

  • Verified answer
    Joris dG Profile Picture
    17,782 on at

    Beyond a few technical reasons (like Andre mentioned), typically there are more functional reasons. If you want to CHANGE some code, of course you have to over-layer. If you wish to add code somewhere in the middle of existing code, you need to over-layer (hopefully by adding a delegate in the over-layer, then subscribe to the delegate from an extension package). The over-layering is usually more code related, although it typically means they are more aggressive customizations. Sometimes your extensions may need access to some protected or private member variables of a class -  you can potentially over-layer the class to expose the variable through a parm() method or something. Those are typical scenarios I've seen.

    Also note that you want extensions in a separate, new package. Beyond some potential upgrade benefits over over-layering, adding an extension in a model in the same package doesn't buy you many of the advantages of extensions.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 16

#2
Nagendra Varma K Profile Picture

Nagendra Varma K 4

#2
Harisgillani Profile Picture

Harisgillani 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans