Extension approaches recap in Microsoft Dynamics 365 Finance and Operations apps
- Preferred#1: CoC (PU9+)
- Preferred#2: Creating event handlers to respond to framework events, such as data events (can be seen from VS designer)
event handlers to respond to event delegates by the application.
Framework events -Tables, form data sources, form controls, and other element types that support extension events list the available events (and delegates) under an Events collection node.
- Preferred#3: Delegates
- Preferred#4: Pre/Post
- If pre/post events needs to be used on a new table then one first has to overlayer the existing table methods and then in an extended model use the events handler.
- New tables created as well as existing OOB tables may not have overridden base methods hence framework events are preferred.
- Preferred#5: plug-ins
*This post is locked for comments