Quantcast
Channel: Forum CRM Development
Viewing all articles
Browse latest Browse all 1000

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 1000

Trending Articles