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

Day 11 - Customizing Option Sets Dropdown Fields with JavaScript

  In this Blog, we will see how to Customizing Option Sets Dropdown Fields with JavaScript label1 = formContext.getAttribute( "bosch_op...