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

GM to MCRM - problems to migrate the owner of a contact

$
0
0

Hello,

I already asked this question on an other website, but the problem is that I still cannot figure out how to get the right owner of a contact like it is set up in Goldmine.

I am using Starfish ETL to perform this migration, but each time, it is the creator of the contact that becomes the owner.

Someone posted my this code but I don't know what language it is and what to do with that:

Guid contactId =newGuid("90F8889F-EB95-E781-8417-000C44420CBC");Guid newOwnerId =newGuid("BFCAA4ED-5E79-E781-8349-00155BB3156F");AssignRequest assignRequest =newAssignRequest{Assignee=newEntityReference("systemuser", newOwnerId),Target=newEntityReference("contact", contactId)}; service.Execute(assignRequest);

Also, I tried to rename the dbo.privilege table to try to pass through this, but after that, nothing worked anymore :)

An other friendly one told me to use impersonationin my IOrganizationService, but ... readed, didn't understood something...

Please ! Let me know the easiest way to do that ;)

Thanks a lot


Viewing all articles
Browse latest Browse all 82002

Trending Articles