CRM 2011 - set or assign record owner
Hi,
Just a recap of how to set the record owner or assign a new owner through the sdk.
When creating a record, you don't need to use AssignRequest. Simply set the OwnerId and call SaveChanges of your context.
But if the record already exists, then you must use AssignRequest to assign the record to the new owner.
HTH,
Andreas
Just a recap of how to set the record owner or assign a new owner through the sdk.
When creating a record, you don't need to use AssignRequest. Simply set the OwnerId and call SaveChanges of your context.
But if the record already exists, then you must use AssignRequest to assign the record to the new owner.
HTH,
Andreas
Thank you for the explanation! I looked for this information hours and I tried to do a lot of things but nothing worked. On your blog I can always find what I need. Thank you so much !
ReplyDelete