{"id":3632,"date":"2016-02-27T11:53:08","date_gmt":"2016-02-27T06:23:08","guid":{"rendered":"http:\/\/www.vyapin.com\/blog\/?p=3632"},"modified":"2021-05-27T06:35:54","modified_gmt":"2021-05-27T06:35:54","slug":"retaining-document-ids-across-site-collections-or-sharepoint-farms","status":"publish","type":"post","link":"https:\/\/www.vyapinsoftware.com\/blog\/retaining-document-ids-across-site-collections-or-sharepoint-farms","title":{"rendered":"Retaining Document IDs across site collections or SharePoint farms"},"content":{"rendered":"<p><a href=\"https:\/\/support.office.com\/en-us\/article\/Enable-and-configure-unique-Document-IDs-ea7fee86-bd6f-4cc8-9365-8086e794c984\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>SharePoint Document ID service<\/strong><\/a> is useful to maintain static links to documents regardless of where they get moved within the same site collection, or if their name gets changed. In short, with the SharePoint Document ID service activated, you can preserve the Document ID within the site collection.<\/p>\n<p>There are a few limitations in SharePoint in preserving the Document ID when a document is moved to another site collection:<\/p>\n<ul>\n<li>You cannot preserve the Document ID when moving the documents across the site collection (even within the same web application). If you move documents across site collection, it points to the location of old source document. You will encounter <strong><span style=\"color: #ff0000;\">\u201cNo documents with the ID &lt; xxx&gt; were found in this site collection\u201d<\/span><\/strong> error message, once you delete the source document as shown in image below.<\/li>\n<\/ul>\n<p><a href=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/DocumentID-1-1.png\" data-lbwps-width=\"558\" data-lbwps-height=\"163\" data-lbwps-srcsmall=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/DocumentID-1-1-300x88.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3636 size-full\" src=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/DocumentID-1-1.png\" alt=\"\" width=\"558\" height=\"163\" srcset=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/DocumentID-1-1.png 558w, https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/DocumentID-1-1-300x88.png 300w\" sizes=\"auto, (max-width: 558px) 100vw, 558px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/DocumentID-Error-1.png\" data-lbwps-width=\"463\" data-lbwps-height=\"163\" data-lbwps-srcsmall=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/DocumentID-Error-1-300x106.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3637 size-full\" src=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/DocumentID-Error-1.png\" alt=\"DocumentID Error\" width=\"463\" height=\"163\" srcset=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/DocumentID-Error-1.png 463w, https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/DocumentID-Error-1-300x106.png 300w\" sizes=\"auto, (max-width: 463px) 100vw, 463px\" \/><\/a><\/p>\n<ul>\n<li>You cannot preserve the Document ID when copying the documents from one location to another location within a site collection. By default, SharePoint generates a new ID for the copied document.<\/li>\n<\/ul>\n<p>Latest version of <strong><a href=\"https:\/\/www.vyapinsoftware.com\/products\/sharepoint-migration\/dockit\/sharepoint-migration-tools\">XPlica for SharePoint<\/a><\/strong> v6.8 helps you to overcome these limitations when migrating documents with Document IDs. This new version of XPlica retains the source Document IDs, whenever you migrate a document from one SharePoint site collection to any other site collection within the same farm or even across two different SharePoint farms.<\/p>\n<h2><u>How to retain Document IDs using XPlica v6.8?<\/u><\/h2>\n<p>Whether you are migrating entire site contents or list contents using XPlica, navigate to the \u2018SharePoint Columns Options\u2019 step of XPlica wizard (as shown below) and select \u2018Migrate selected columns\u2019 and provide the column name \u2018Document ID\u2019 in the list as shown below. This directs XPlica to retain the source document ID for the migrated document.<\/p>\n<p><a href=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/retain-doc-id-1.png\" data-lbwps-width=\"726\" data-lbwps-height=\"541\" data-lbwps-srcsmall=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/retain-doc-id-1-300x224.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-3633 size-full\" src=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/retain-doc-id-1.png\" alt=\"Retain document Id\" width=\"726\" height=\"541\" srcset=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/retain-doc-id-1.png 726w, https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/retain-doc-id-1-300x224.png 300w, https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/retain-doc-id-1-624x465.png 624w, https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/retain-doc-id-1-200x150.png 200w\" sizes=\"auto, (max-width: 726px) 100vw, 726px\" \/><\/a><\/p>\n<p>After the migration to the new target location is complete, you may end up with the error message \u201cNo documents with the ID &lt; xxx&gt; were found in this site collection\u201d when you click the migrated document ID in target location.<\/p>\n<p>To overcome this error and for the old Document ID to take effect, you must perform an incremental crawl in <strong>[Central Administrator\u00a0<img decoding=\"async\" src=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/r-arrow.png\" alt=\"r-arrow\" \/><\/strong><strong>\u00a0Application Management <img decoding=\"async\" src=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/r-arrow.png\" alt=\"r-arrow\" \/> Manage Service Applications <img decoding=\"async\" src=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/r-arrow.png\" alt=\"r-arrow\" \/> Select Search Service Application <img decoding=\"async\" src=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/r-arrow.png\" alt=\"r-arrow\" \/> Content Sources <img decoding=\"async\" src=\"https:\/\/www.vyapinsoftware.com\/blog\/wp-content\/uploads\/2016\/02\/r-arrow.png\" alt=\"r-arrow\" \/> Start Incremental Crawls]<\/strong>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>SharePoint Document ID service is useful to maintain static links to documents regardless of where they get moved within the same site collection, or if their name gets changed. In short, with the SharePoint Document ID service activated, you can preserve the Document ID within the site collection. There are a few limitations in SharePoint [&hellip;]<\/p>\n","protected":false},"author":6,"featured_media":3633,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[144],"tags":[60,64,72],"class_list":["post-3632","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-how-to","tag-sharepoint-content-migration","tag-sharepoint-migration","tag-sharepoint-site-migration"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/3632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/comments?post=3632"}],"version-history":[{"count":9,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/3632\/revisions"}],"predecessor-version":[{"id":7949,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/posts\/3632\/revisions\/7949"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/media\/3633"}],"wp:attachment":[{"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/media?parent=3632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/categories?post=3632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vyapinsoftware.com\/blog\/wp-json\/wp\/v2\/tags?post=3632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}