Online Training On SharePoint
                      

Monday 23 November 2009

Assigning Document ID to the Documents in SharePoint 2010

I was working on a SharePoint 2010 site which was build on Team Site Template. I was not able to find the Doument Ids for the document uploaded into the Document Library in this site. Even the Document ID column was not appearing in the document libarary. On further investigation I found that we need to enable the Document ID Feature to use the Document ID's in the library. If we use a Document Center template to create a site collection the Document ID feature is enabled by default. To enable Document ID feature go to Site Actions --> Site Settings --> Under Site Collection Administration --> Site Collection Feature


and enable the Document ID Service Feature. Once this feature is activated the Document ID column will start to appear:


I have uploaded couple of documents in the Document in the document library. Still these documents does not have any Document Id's associated even after enabling the Document ID Service and it shows blank.


If I upload a new document it was getting associated with a Document ID:



Now the question is how to get the Document Id's for these existing documents. On some investigation I found there are 2 jobs which runs on a daily basis. These job are
1. Document ID enable/disable job: Work item that propagates content type changes across all sites when the Document ID feature is reconfigured.
2. Document ID assignment job: Work item that assigns Document ID to all items in the site collection.
Now I executed Document ID assignment Job from the Central Admin and my all the documents in the Document Library got a Document ID :)


Since this job is scheduled to run daily it means if enable the Document ID Service all the existing documents will get a Document ID when this job executes.

There is also another feature with Document ID that we can change the characters in the Document ID. To do this go to Site Actions --> Site Settings --> Under Site Collection Administration --> Document ID Settings



I have modified the string here to start with ABCD and all my new documents are getting the Document ID starting with ABCD:

We can also select to change all the existing documents to be assigned with this customized Document ID's. This also is taken care by the Document ID assignment job. I have exextued this job again and it has changed all the documents ID's in the document library.

2 comments:

Anonymous said...

Thanks for the nice Post. You've saved me hours!.

But one thing i have noticed is that when i move document from one site to another, the links break and the Document Id also changed.

Did you experience the same problem?

Thanks.

Anonymous said...

Good one, I am facing yet another issue. If you nest a document center under a blank site template and enable document id features. The library under the nested site for that site collection does not get the doc id features... Any ideas how to update that ?

Goes like this Blank Ste COllection -> Enable Doc ID feature -> Create a document center -> create a new library under doc center -> MISSING DOC ID Feature !!

Related Posts with Thumbnails