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

What is the best practice for creating and working on layers?

(0) ShareShare
ReportReport
Posted on by 10

I'm trying to find documentation on this but cannot find it anywhere. I have heard that it is best practice not to work in the USR layer, and that everything should be created on the ISV layer. Is anyone able to advise what each layer contains and on which layer it is best practice to work from?

I have the same question (0)
  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Layers don't have as similar impact in D365 compared to AX2012, since you can't overlayer Microsoft's code anymore.

    Anyway, it's good to understand basics of the layers.

    ISV layer is intended for ISVs = Independent Software Vendors. If you develop solutions that you sell to customers, then this is the layer that you should use.

    VAR is for Value Added Reseller = a partner that sells some small solutions that are used in their own projects.

    If you develop customizations for one customer, you should use CUS (Customer) or USR (User) layer.

  • Jccrawford Profile Picture
    10 on at

    Thanks Nikolaos - If layers do not matter any more, then what is the point of layers? I mean, what is the point of having an ISV layer vs a VAR layer? And then, what is the difference between CUS and USR?

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

    Hi Jccraford,

    Have a look at the official documentation from Microsoft: docs.microsoft.com/.../layers

    I do have a slight different opinion on the comments from Nikoloas.

    ISV is used if you want to have the solution available on AppSource and sell products to your own customers, but also via a partner channel.

    VAR is for partners creating specific solutions for customers.

    CUS is the layer used by the customer to create his own modifications for the organization.

    USR was specified for user requirements.

    If you read the documentation, then the layers do have a priority. Even when every customization is an extension, then there are still situations where partners and ISV solutions can extend the same object. A higher layer would have still higher priority in execution.

    Also when two ISV products use the same inventory dimension out of the 10 additional, then it can be changed in a higher layer by a partner as part of the implementation.

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

    Andre provided good information about the areas where layers still do matter.

    Also "if layers don't matter any more, then what is the point of layers?" - there's not necessarily a point in existence of every technical detail in D365 (or many other products in the world). The product has evolved from it's earlier versions. Everyone who upgrades their code from AX2012 to D365 still needs to work with layers. And actually you can still technically use overlayering in your developments, but not with Microsoft code.

  • Suggested answer
    Joris dG Profile Picture
    17,775 on at

    Don't rely on layers. Do one model per package, that's it. There is no plan at this point, but other than upgrades I don't see us keeping layers in the product for eternity.

    Also, because of the way model IDs have gone crazy, the layers don't properly order anymore anyway. Don't use them, there is absolutely no good reason other than creating more work for yourself (merging/cleanup) and using a virtually deprecated feature.

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 664 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 303 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans