Notifications
Announcements
No record found.
Dear all,
Can you please let me know what is the difference between event and Event handlers?
Where we can use event and Event handlers.
Please give me more she'd on this
Thanks!
*This post is locked for comments
"An event" means that something happened, such as that a record was created.
Event handlers are methods executed when an event occurs. For example, you may want to add data to another table when a record was created.
Thanks Martin,
So, there are only 2 event handlers right?
Pre and Post
Not at all! Each event can have any number of handlers.
What you likely mean by "Pre and Post" are special kind of events (not handlers!) happening at the beginning and end of a method. Handlers are methods that you want to execute when an event (such as beginning of method execution) occurs. If you read my original reply again and think about it, it should be obvious.
There are other types of events, such as recording creation discussed before.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 4 Most Valuable Professional
Priya_K 4
MyDynamicsNAV 2