Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 55831

crm plugin update step Object reference not set to an instance of an object

$
0
0

Hi,

My code:

myEntity= entity.ToEntity<MyEntity>();

myEntity.OptionSetField.Value = 280930002; - in this line

I get this error: Object reference not set to an instance of an object.

It happens only in an update step(in the create step I don't get it).

What can I do?

thanks!


Viewing all articles
Browse latest Browse all 55831

Trending Articles



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