How to Check NULL fields in Plugin C# code | D365 CRM

 var vwi_brokeremail = ec.Entities[0].Attributes.Contains("vwi_brokeremail") ? (ec.Entities[0].GetAttributeValue<String>("vwi_brokeremail")) : String.Empty;

No comments:

Post a Comment