CoC ChainofCommand recap in Microsoft Dynamics 365 Finance and Operations apps
chain of command platform feature enables extension class access to protected methods and members from PU9+ while Access to public was available earlier to PU9
*Wrapper methods must always call next
With Platform update 11, MS added a new attribute, which allows Microsoft (on request from multiple partners), where it is justified, to decorate a particular protected or public method, allowing wrapper methods to not call next on it, replacing the logic of that method.
Benefits of CoC
• No refactoring on app side to enable common extensibility scenarios
Less clutter — less work
• Extensions are unblock — don't have to wait for Microsoft
• Extension code is easier to author
• Strongly typed
• Not subscription based
• Support multiple side-by-side extensions
• Not changing compatibility requirements
References
*This post is locked for comments