Answered by:
Move the files from one Site to another Site

Question
-
Hi,
I got a requirement to move the files from one site to another site, I was able to move the document between document libraries of diffferent site, but some of the fields like ModifiedBy and Modified date columns are updated with 'System Administrator account' or person who moves the document along with modified date modified to date of moved file. But i want retain the fields of source document 's values to moved document in destination site . Is there any possiblity of updating
MahenderSunday, October 30, 2011 6:33 PM
Answers
-
The best way to address this is to use the content deployment and migration API which has been implemented exactly for this purpose: http://blogs.technet.com/b/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-1.aspx
Stefan Goßner
Senior Escalation Engineer - Microsoft CSS
This post is provided "AS IS" with no warrenties and confers no rights.- Marked as answer by Qiao WeiModerator Friday, November 4, 2011 8:06 AM
Monday, October 31, 2011 3:56 PM
All replies
-
If you are trying to manually copy paste it (using Explorer view or similar approach), then its by design. The fields you mentioned will be updated with the user doing the process.
Instead of manually copying and pasting documents from one location to another site location, do Backup and Restore (if it is a top level site) and all the metadata information of the document will be maintained.
Monday, October 31, 2011 6:09 AM -
HI Amol,
Thanks for the response. I have to programatically move the document from one site to another site using spobject model only.
-Mahender
MahenderMonday, October 31, 2011 6:56 AM -
Hi,
You can try like this !!!
http://www.onlysharepoint2010.com/2011/10/copy-files-from-one-folder-to-another.html
Thanks Bijay @HP, Bangalore http://www.fewlines4biju.com || http://www.onlysharepoint2010.comMonday, October 31, 2011 10:00 AM -
The best way to address this is to use the content deployment and migration API which has been implemented exactly for this purpose: http://blogs.technet.com/b/stefan_gossner/archive/2007/08/30/deep-dive-into-the-sharepoint-content-deployment-and-migration-api-part-1.aspx
Stefan Goßner
Senior Escalation Engineer - Microsoft CSS
This post is provided "AS IS" with no warrenties and confers no rights.- Marked as answer by Qiao WeiModerator Friday, November 4, 2011 8:06 AM
Monday, October 31, 2011 3:56 PM