Move the files from one Site to another Site
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
Mahender
October 30th, 2011 2:53pm
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.
http://technet.microsoft.com/en-us/library/ee748617.aspx
http://technet.microsoft.com/en-us/library/ee748655.aspx
Free Windows Admin Tool Kit Click here and download it now
October 31st, 2011 2:29am
HI Amol,
Thanks for the response. I have to programatically move the document from one site to another site using spobject model only.
-MahenderMahender
October 31st, 2011 3:16am
Hi,
You can try like this !!!
http://www.onlysharepoint2010.com/2011/10/copy-files-from-one-folder-to-another.htmlThanks Bijay @HP, Bangalore http://www.fewlines4biju.com || http://www.onlysharepoint2010.com
Free Windows Admin Tool Kit Click here and download it now
October 31st, 2011 6:20am
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.aspxStefan Goner
Senior Escalation Engineer - Microsoft CSS
This post is provided "AS IS" with no warrenties and confers no rights.
October 31st, 2011 6:56pm
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.aspxStefan Goner
Senior Escalation Engineer - Microsoft CSS
This post is provided "AS IS" with no warrenties and confers no rights.
Free Windows Admin Tool Kit Click here and download it now
November 4th, 2011 12:15pm