Topic by Nils Gotzhein
Content
Hi,
when synchronizing our legacy Customer Database into RightNow using "Connect Web Services for soap" we come to a point where we want to merge two Contacts belonging to the same person into one. By "merging" we mean to transfer all the Incidents, Tasks, Opportunites and FileAttachments associated to one customer account to the other and then deleting it after.
Moving Incidents, Tasks and Opportunites does work, however I have no clue how to sync the FileAttachments. Here is what I tried:
- get the Contact object of the "source" contact (using Get)
- get the Contact object of the "target" contact (using Get)
- copy the FileAttachments property from the source to the target Contact
- synchronizing the target Contact to RightNow using Update command.
I reviewed the outgoing SOAP-Call, and it clearly contains information about the File which is supposed to move (no Data of course, just meta data like name, size and mime type). The SOAP-response indicates no errors. Yet my attapmt to move the FileAttachments have absolutely no effect. The files remain in their original accounts after the Update call.
Another idea would be to first download all attachments from one account and then to upload them to the other. But then I have no idea to upload files using the SOAP API, and it would also cause unnecessary overhead.
We are using RightNow CX November 2011
Is there any way to move those FileAttachments between Contacts?