Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 154803

Forum Post: RE: How to use preImage and postImage in Plugins

$
0
0
I checked whether the lookup is empry but the plugin does not work for the director field: when I don't edit the text inside it throws the exception. My updated code is the following: EntityReference director = postImage.GetAttributeValue ("director"); if (director == null) throw new InvalidPluginExecutionException(OperationStatus.Failed, "Director is empty!");

Viewing all articles
Browse latest Browse all 154803

Trending Articles



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