Announcements
No record found.
Hi,
should i register plugin as post operation or pre validation ..??
can i access data of deleted record from execution context or should i use pre imge..??
Thank you,
*This post is locked for comments
Hello,
When you handle delete message context contains only moniker to a record with id and entitytype. If you need to access a record - you can retrieve it using endpoints but that would work only in pre-operation or pre-validation modes. Pre image is available for both pre and post operations and it is recommended to use it to get information about record that was deleted.
You should use Pre Images so that you will have a copy of the deleted record.
You can register the plugin on the Pre or Post Delete operation and register your image as pre image
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.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ScottDurow 2
GJones 1