Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Moving document library files

  Asked By: Sheldon    Date: Jul 14    Category: Sharepoint    Views: 2417

I am trying to migrate a bunch of files to a different document
library. I need to preserve all metadata exactly, notably the
modified, modifiedBy, etc system fields. I am wondering what the
typical way to do this is.

"Move" in Manage Content & Structure and using export/import resets
the modified date.

I can set them in code using the UpdateOverwriteVersion(), but it
still creates a new draft with the updated system fields (except the
modifiedBy which it resets to the user running the code). Any idea
how to get this working properly? Is it possible to publish the file
in the code and specify who to publish it as?

Will the content deployment API be able achieve this properly?



4 Answers Found

Answer #1    Answered By: Aastha Acharya     Answered On: Jul 14

You could drag and drop between libraries in Explorer View, but occasionally
this can hit some snags. Bamboo Solutions has a client-side product (whose
name I have conveniently forgotten) that will do this view web services; I
don't know whether the modified  info remains, but you can probably get a
pretty quick answer from their support folks.

Answer #2    Answered By: Glenda Roth     Answered On: Jul 14

The drag & drop will also reset the modified  date. Thanks for the
prospect with Bamboo.

Answer #3    Answered By: Jada Clemons     Answered On: Jul 14

I suppose one other possibility would be to save the library  as a template
(with the content), create a new library with the template, and then delete
the ones you don't want in the new library.

Answer #4    Answered By: Brooke Lewis     Answered On: Jul 14

Metalogix has a product that will do this and maintain all the metadata
and permission for the documents. It is called SharePoint site migration

Didn't find what you were looking for? Find more on Moving document library files Or get search suggestion and latest updates.