SharePoint 2010 automatically assigns a unique id for each document uploaded. This is a site collection feature which ensures the ids are unique. So by using different prefixes for each site collection we can ensure a unique document id.
The following steps are involved in activating the document id on the site.
1) Activating the document Id Service
2) Running the timer jobs
3) Setting the document id prefix
1) Activating the document Id Service
For activating the feature you need to be site collection administrator.
Go to Site Settings -> Site Collection features
Click on Site Collection features -> Document Id Service -> Activate
2) Running the timer jobs
For activating the document id you need to run 2 timer jobs.
They are
i) Document ID assignment job
ii) Document ID enable/disable job.
Go to Central Administration -> Monitoring -> Timer Jobs
Look for Document ID assignment job
Click on it to run now
Again under in Central Administration -> Monitoring -> Timer Jobs
Look for Document ID enable/disable job.
The Document ID enable/disable job creates a column called Document ID in library.
3) Setting the document id prefix
To set the document prefix go to Site Settings > Document ID Settings
To customize the Document ID and apply Document ID to all existing Documents in the Site Collection.
Now upload a document it will be assigned a unique document id by SharePoint J Cheers!!
To see document id on the current view go to
Library - > Library settings - > Views
Click on All Documents View
Select Document id Column
Image shows sample document with document id.
Need of Documents Id :
Even if you move a document from one location to another location throughout site collection, ID of document remains the same. This gives us an advantage over a broken link URLs for the documents.
So you can excess you document using the document id, irrespective of its location on the site.
Additional Information:
Accessing documents using Document id
http ://<Server_Name>/_layouts/DocIdRedir.aspx?ID=<Document_ID> .
Example
Hope this helps...
No comments:
Post a Comment