1

I have a document library in a web application, I need to copy all the items of this document library in other web application document library. The document library also consist some lookup field. I am trying to do this by creating a console application. How should I proceed. Any help on this will be appreciated.

  • 1
    Site Settings/Site Content and Structure is good for copying all items. Also see this popular post for info: sharepoint.stackexchange.com/questions/1278/… I don't know a way of copying the lookup fields, you might need to re-do them. – Tally Sep 18 '17 at 13:28
  • In your console application, after migrating the library to other web application, get the lookup field's schema xml and update it with the correct lookup url. Finally set it back and do field.Update(). This should work. – Ahmad Zia Sep 19 '17 at 5:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.