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

Want to set owner while creating contact through web service

$
0
0

Hi All,

I am trying to set owner as a Team when creating a contact using web service which is connecting to CRM.

tried below line in code.

contact["ownerid"] = new EntityReference("team", new Guid("940BD8EF-4B13-E711-80FF-5065F38A4A21")); 

but

its setting as the CRM's current login user.

can anyone help me.


Viewing all articles
Browse latest Browse all 79901

Trending Articles



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