Saturday, July 25, 2020

Preimage is Null / Entity PreImage on Plugins C# MSCRM/CDS

Get values of Preimage

PreImage name : "AccountPreImage"


EntityReference requistionContext = (EntityReference)context.InputParameters["Target"];
Entity preImageEntity = (context.PreEntityImages != null && context.PreEntityImages.Contains("AccountPreImage")) ? context.PreEntityImages["AccountPreImage"] : null;

No comments:

Post a Comment

How to disable Form JavaScript Using URL in Model Driven app and MSCRM

  Introduction : How to disable Form JavaScript Using URL in Model Driven app and MSCRM . Implementation Steps: Navigate to your Environment...