In this article we will be seeing how to assign the Document ID's and how to
create Find by Document ID web part.
Document ID Service feature:
See the following link
http://www.c-sharpcorner.com/uploadfile/anavijai/4698/default.aspx to
activate the Document ID Service feature and how to use it.
Assign Document ID's:
- Go to Site Actions => Site Settings =>
Site Collection Administration => Document ID Settings.
- Give some meaningful characters that your
Document ID's should begin with.
- By assigning the Document ID's in site
collection level will be very useful when you have multiple site
collections.
- It will be easy to identify the documents
based on the Document ID to which site collection it belongs if you assign
the document ID's with meaningful characters.
- Click OK.
- Add an item in the Shared documents. Once
you have added an item view the item, you could see the document id.
By using a static URL or a permalink you can open the document directly with the
document id.
Static URL: http://<sitecollectionurl>/_layouts/DocIdRedir.aspx?ID=
CUSTOMDOCID-1-1
Find by Document ID webpart:
- Go to Site Actions => Edit Page.
- In the ribbon interface go to Editing
Tools => Insert =>Web Part.
- Select Search from the categories.
- Choose Find by Document ID and
click Add.
- Find by Document ID web part will be
created.
- Enter the document ID; it will open the
document directly.