Hi,
I am making a CRM data migration from CRM 2011 to CRM Online. Unfortunately I encountered a problem where the attachments in the "email" entity is missing. So I tried to transfer the missing attachments with the entity "activitymimeattachment" but I can not make a link between the activities and the acitivitymimeattachment because of this error:
System.ServiceModel.FaultException<KingswaySoft.DynamicsCrmServices.Soap2011.OrganizationService.OrganizationServiceFault>: The attachment cannot be saved. Either specify activityId or ObjectTypeCode & ObjectId.
When I uncheck the "activityId" everything works fine but I can't see the attachments in the "emails". Do you have any ideas or workarounds?
*This post is locked for comments
Hi Val Maly, if you are using an integration tool like scribe, make sure you have the field activityid mapped and also, remove the links to the fields objectid, objecttypecode and attachmentid. if you are using the sdk, make sure you do not populate those fields either.
Could you please provide more details on how you solve this problem. I have experience same issue.
Thanks,
Val
Hi Aiden,
thanks it is solved now. The problem is you can not set the objecttype, objecttypecode with the activityid. Also the attachementid must be unchecked.
Now we can see the attachments in the new system.
Thanks,
Bernhard
Hi,
The error says that it can't figure out what to attach the file to. Are you setting the object type code, to tell it the entity type?
Thanks,
Aiden
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156