DocumentId Class
SharePoint 2010
Represents a Document ID.
Namespace:
Microsoft.Office.DocumentManagement
Assembly: Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)
Contains methods that enable or disable the capability to assign Document IDs to query Document ID feature and assignment status, and to query and set Document ID providers.
Provides methods for assigning Document Ids to documents, and provides methods to use lookup and search to get documents by their Document ID.
Insert Document ID in Word documents
Once a Word document has been saved and given a Document Id, this document id can be inserted in the document text by using Quick Parts. But if your organization is using Word document templates, the Document ID can be inserted automatically in all documents based on those templates. Details in this blog post: http://devramblings.wordpress.com/2011/04/10/insert-sharepoint-2010-document-id-in-a-word-document/
- 4/29/2011
- Øystein Garnes