{"id":3251,"date":"2011-12-20T10:20:50","date_gmt":"2011-12-20T02:20:50","guid":{"rendered":"http:\/\/www.sharepointboost.com\/blog\/?p=3251"},"modified":"2023-07-31T11:40:02","modified_gmt":"2023-07-31T03:40:02","slug":"document-id-in-sharepoint-server-2010","status":"publish","type":"post","link":"https:\/\/www.boostsolutions.com\/blog\/document-id-in-sharepoint-server-2010\/","title":{"rendered":"Document ID in SharePoint Server 2010"},"content":{"rendered":"<p>Here&#8217;s a great post from <a href=\"http:\/\/blogs.msdn.com\/b\/ecm\/archive\/2011\/10\/12\/document-id-in-sharepoint-server-2010.aspx\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft Enterprise Content Management(ECM) Team Bolg<\/a> that talks about document ID in SharePoint Server 2010.<\/p>\n<p><strong>Document ID Overview<\/strong><\/p>\n<p>A  common content management problem is documents getting moved to  different locations and links no longer working. Another problem is  submitting content to a repository and being able to find it at a later  time. These are the types of problems the Document ID feature handles.  Document ID is a site collection level feature that when activated adds  columns to all document content types. Whenever an item is created or  uploaded and is set to a content type that inherits from document it  will get a Document ID. The document sets content type is a special case  non document content type that also gets Document IDs.<\/p>\n<p><em>Quick Tip:<\/em> You may want to activate the Document ID feature on site collections  that already contain a large amount of documents. Because this event  triggers a content type pushdown on the Document content type the  process can take a while. As a result, Document ID activation is done  through a timer job that by default is run nightly. If you would like to  activate the Document ID feature right away please run the Document ID  enable\/disable job in Central Administration. There is a separate time  job that assigns Document IDs to existing documents.<\/p>\n<p><!--more--><strong>Document ID Settings<\/strong><\/p>\n<p>Document  IDs consist of two parts, a prefix (that is randomly generated per site  collection by default) and two sets of numbers. An example Document ID  looks like this: <span style=\"color: #0000ff\">J2W3DN6QF6XW-2-10<\/span>.  The first number is the ID of the list that the document was first  created in and the second number is the ID of the item in that list. The  prefix can be specified per site collection and can easily be changed  from the Document ID settings page.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic.1-Document-ID-in-SharePoint-Server-2010.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-3252\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic.1-Document-ID-in-SharePoint-Server-2010.png\" alt=\"\" width=\"624\" height=\"224\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic.1-Document-ID-in-SharePoint-Server-2010.png 624w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic.1-Document-ID-in-SharePoint-Server-2010-300x107.png 300w\" sizes=\"(max-width: 624px) 100vw, 624px\" \/><\/a><\/p>\n<p>The Document ID settings page can be accessed in Site Settings at the  root of the site collection, and will be in the Site Collection  Administration category. On the Document ID settings page you can  specify whether or not Document IDs are assigned and the prefix that is  used. By default this is randomly generated so Document IDs will be  unique across a farm. You can change this to a more readable prefix such  as an abbreviation. If you change the prefix there is a check box that  you can select to reset all Document IDs. If you do reset the IDs of  existing documents then you will break the intended functionality of  Document IDs (the ID will no longer work because no document with  previous IDs will be found). Reset Document IDs should only be done  fairly soon after IDs were initially assigned (before people use  Document IDs.) On the settings page you can also specify the search  scope to use, by default the All Sites scope, to find Document IDs  across other site collections.<\/p>\n<p><strong>Document ID (linked to document) Column<\/strong><\/p>\n<p>In  list views and in view properties of documents the Document ID column  can be displayed. The Document ID column is a URL with a format like:  http:\/\/site\/_layouts\/DocIdRedir.aspx?ID=J2W3DN6QF6XW-2-40. When this URL  is clicked search will be used to find the document. This allows the  URL to work even if the document has been moved to another location.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic.2-Document-ID-in-SharePoint-Server-2010.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-3253\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic.2-Document-ID-in-SharePoint-Server-2010.png\" alt=\"\" width=\"630\" height=\"29\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic.2-Document-ID-in-SharePoint-Server-2010.png 630w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic.2-Document-ID-in-SharePoint-Server-2010-300x13.png 300w\" sizes=\"(max-width: 630px) 100vw, 630px\" \/><\/a><\/p>\n<p><strong>Document ID Send To Hint URL<\/strong><\/p>\n<p>In Central  Administration you can configure send to locations that allow you to  submit content to another site and a content organizer will  automatically route the document to its final destination. In this case a  Document ID lookup URL is returned (If the Document ID feature is  activated on the destination) which also contains a HintURL on the end  so users can find the document immediately even though search may not  have indexed it yet. Here is an example of a link to the HintURL:<\/p>\n<p>http:\/\/sites\/_layouts\/DocIdRedir.aspx?ID=J2W3DN6QF6XW-2-96&#038;hintUrl=DropOffLibrary\/A1.docx<\/p>\n<p><strong>Document ID in Documents<\/strong><\/p>\n<p>One  scenario you can use Document ID for is to track the electronic version  of a document with a printed one. For example you may print out a  document and give it to people, but they have no way to find the  electronic version to see if there have been updates. You can use a Word  quick part to insert the Document ID into a document.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic3-Document-ID-in-SharePoint-Server-2010.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-3254\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic3-Document-ID-in-SharePoint-Server-2010.png\" alt=\"\" width=\"630\" height=\"308\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic3-Document-ID-in-SharePoint-Server-2010.png 630w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic3-Document-ID-in-SharePoint-Server-2010-300x146.png 300w\" sizes=\"(max-width: 630px) 100vw, 630px\" \/><\/a><\/p>\n<p>You may even want to create a template so whenever users create a new  instance of a content type it has the Document ID right in the header or  a page of the document. To do this upload a document into SharePoint  where it will get a Document ID. Then download the document, customize  the template as you want to use it for your content type and insert the  Document ID Value property using quick parts from the Insert ribbon of  Word. Then save the file as a Word Template (dotx) and create your  content type. In advanced settings for the content type, upload your  template. Now when people use the New Document drop down to create new  items of your content type they will have the Document ID Value embedded  as a quick part.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic4-Document-ID-in-SharePoint-Server-2010.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-3255\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic4-Document-ID-in-SharePoint-Server-2010.png\" alt=\"\" width=\"630\" height=\"232\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic4-Document-ID-in-SharePoint-Server-2010.png 630w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic4-Document-ID-in-SharePoint-Server-2010-300x110.png 300w\" sizes=\"(max-width: 630px) 100vw, 630px\" \/><\/a><\/p>\n<p><strong>Find By Document ID Web Part<\/strong><\/p>\n<p>There is a Find by  Document ID web part that can be used where users can enter Document IDs  to lookup a document. You can find it in the Search category of web  parts. You can use the Document ID web part in combination with Document  IDs that are printed out on physical documents so users can look them  up.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic5-Document-ID-in-SharePoint-Server-2010.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignleft size-full wp-image-3256\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2011\/12\/Pic5-Document-ID-in-SharePoint-Server-2010.png\" alt=\"\" width=\"241\" height=\"61\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p>Of course users can also just copy the Document ID into a normal  search box to find the document as well. DocID is a managed property so  you may want to use the following search syntax: docid:doc id value, for  example in search type-docid:J2W3DN6QF6XW-2-96.<\/p>\n<p>Document IDs  are a new SharePoint Server 2010 feature that makes it easier to find  documents when they have been moved to other locations. When documents  are copied a new Document ID will be assigned and when Documents are  moved or cut and pasted they will retain their Document ID. You can also  use Document IDs to track physical documents with the electronic  version.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s a great post from Microsoft Enterprise Content Management(ECM) Team Bolg that talks about document ID in SharePoint Server 2010. Document ID Overview A common content management problem is documents getting moved to different locations and links no longer working. Another problem is submitting content to a repository and being able to find it at [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[461,125,480],"tags":[293],"_links":{"self":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/3251"}],"collection":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/users\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=3251"}],"version-history":[{"count":13,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/3251\/revisions"}],"predecessor-version":[{"id":9261,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/3251\/revisions\/9261"}],"wp:attachment":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=3251"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=3251"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=3251"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}