Tuesday, June 26, 2012
Making an EntityReference in a CRM 2011 to Null Programmatically
First of all, is this needed? Yes, we need to do this when working with c# code sometimes where we want to clear a look up field value.
How can we do this?
It’s very easy. All we have to do is assign null value to the field. That would do the trick.
contact.parentcustomerid = null;
the above statement will clear out the parent customer value in a contact.
There are occasions where we need to retrieve working days and working times of a resource in Dynamics grammatically. This is quite possible...
There is a bit of change in CRM 2011 than CRM 4. The code is below. Microsoft.Xrm.Sdk. EntityReference Moniker1 = new Microsoft.Xrm.S...
When you create a new security role from scratch and then assign only that role to a system user and when you log to the CRM site you might ...
Error message “User does not have send-as privilege.” when sending emails programmatically in CRM 2011We were working on sending emails programmatically using CRM and all were working fine. Suddenly we got this error when we tried to send an ...