Question

I have 2 web apps on sharepoint SERVER 2013 I want to copy documents from the fist app to the second app ( app for records) once documents are approved and documents keep their documents ID

Can i set up this feature on sharepoint 2013

Was it helpful?

Solution

Unfortunately, you cannot preserve the Document ID OOTB. You have 2 options:

Option 1:

Add Custom code to handle that, so basically, read the document ID from the source and create it on the destination.

The static name of the field is _dlc_DocId. You can get it from the list item:

string DocID = listitem.Properties["_dlc_DocId"].ToString();

http://blogs.devhorizon.com/reza/2010/09/26/querying-document-sets-using-spsitedataquery/

Option 2:

Use a 3rd party migration tool like Share-gate or Metalogix, etc that will do that for you.

OTHER TIPS

I had this same issue before and used the Chris O'Brien SharePoint Content Migration Wizard and it was amazing. You don't have to code anything. Just enter the site collections URL and destination. https://spdeploymentwizard.codeplex.com/

The below URL will help you learn how to use the application. http://www.sharepointnutsandbolts.com/2007/12/introducing-sharepoint-content.html

I would try this solution in your development location first to learn how to use it.

Licensed under: CC-BY-SA with attribution
Not affiliated with sharepoint.stackexchange
scroll top