web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

on delete of one entity record i need to update other entity record using the data of deleted entity record

(0) ShareShare
ReportReport
Posted on by 382

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

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    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.

  • Suggested answer
    Ozarour Profile Picture
    630 on at

    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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
ScottDurow Profile Picture

ScottDurow 2

#2
GJones Profile Picture

GJones 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans