Dynamics 365 FO - Customize with extensions and overlayering - Part 4
Event handlers and Pre/Post methods
Nghia Song - Microsoft Dynamics 365 Technical Consultant
Nghia Song
Tel - WhatsApp: +84967324794
Email: songnghia.uit@gmail.com
Event handlers and Pre/Post methods
In legacy X++, it was possible to prescribe in metadata that certain methods were to be executed before and after the execution of a method. The information about what subscribes call was recorded on the publisher, which isn't useful in the environment. It's now possible to provide Pre and Post handlers through code, by providing the SubscribesTo attribute on the subscribers.
Examples of pre and post methods
Next: Dynamics 365 FO - Table Extensions
https://www.songnghia.com/2022/09/dynamics-365-fo-table-extensions.html
No comments:
Post a Comment