Quantcast
Channel: CRM Development forum
Viewing all articles
Browse latest Browse all 9244

Execute only when entityreference is not null - how to do this for a plugin?

$
0
0

I am trying to do the code below but it is not working - anyone know why?

EntityReference cdd = (EntityReference)entity.Attributes["new_case"];

if (cdd != null)
{
   //Do code
}


Viewing all articles
Browse latest Browse all 9244

Trending Articles



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