2

Can we preserve the document ID assigned to a document while moving it from one document library in one site collection to another document library in other site collection?

I searched for some answers but they all suggest that the ID is preserved in MOVE operation but not in COPY.

I want to preserve the ID in COPY action.

Is this possible?

1
  • Why preserve the docid from a copy? This will cause conflicting behaviour. In the source site collection it will redirect you to the item in that site collection. In the new site collection it will redirect you to a search page as there are effectively 2 or more items with the same docid.
    – Bunzab
    Aug 4, 2016 at 13:47

3 Answers 3

1

No.

The document-ID is only maintained when using the Content and Structure page '/_layouts/15/sitemanager.aspx?Source={WebUrl}_layouts/15/settings.aspx'. Or when you create custom (Visual Studio) solution and using code.

Using 'Send to', 'Copy' or 'Move' from the ribbon will in all cases generate a new Document-ID in SP2013.

0

It should be possible. Please see this link.

Answer from link:

According to your description, my understanding is that you want to preserve the Document ID when moving the documents across site collections.

Per my knowledge, the document id will be preserved when the document has been moved from one Site Collection to another Site Collection.

During move operations, SharePoint Server 2010 keeps the document ID. During copy operations SharePoint Server 2010 assigns a new document ID. You can control this by setting a Boolean operator on the PersistID column.

2
  • no Not for Moving, I want Preserve it when Copying. for example if in Site A a Doc has ID A110 then while copying it to Site B the ID should be preserved as A110 only, moreover there should be a prefix attached to the copied document i.e. P-A110 May 18, 2015 at 8:31
  • I have gone through this link, but this is not my case, its for moving and i want the same thing but on Copying. May 18, 2015 at 8:32
0

Documents can be sent across sites, site collections or even across SharePoint farms using a send to connection which you can configure in central admin. Copying a document using a send to connection will preserve most metadata including the Document ID however it will update metadata such as Modified By and Modified Date.

Note that copying a document in Explorer View will always create a new Document ID unless you have implemented your own code to handle the process.

Copy a file to another library or Send To location.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.