Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Is there a way to get the ID of the Record being deleted from the FormAssistant ??

$
0
0

I am writing a solution for Dynamics CRM 2013 and as part of that, we need to track deletion of Opps/Leads/Contacts/etc.  The path we have selected is to have our own "HistoryRecord" that simply tracks the Object Type and the ObjectGuid.  Our external system can read this table, to keep track of records that have been deleted (as well as cleanup the history records)

The problem is that I need the Record ID of the object being deleted.  So for Opportunity I have been using "{Opportunity(Opportunity)}" and assigning it into my "HistoryRecord.EntityId (String)" field.  However, this always seems to generate "Opportunity" instead of the actual GUID.

Is there a way to get the ID of the Record being deleted from the FormAssistant ??


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>