This is true for both the standard and the custom document properties. None of the Word document properties are visible in the document content unless you do something to insert their values into the content. This article will not deal further with document library properties.īack to Table of Contents What can document properties be used for? For details about the types, see About the different data types of custom document properties below.ĭocument library properties are related to documents that are stored in a document library on a website or in a public folder, e.g. There are four data types: Text, Date, Number and Yes or No. Each custom document property must be assigned a name, a data type and a value. You can add as many custom document properties as you wish. Word documents do not contain any custom document properties by default. Such properties are called custom document properties. In addition to the standard properties, you can add Word document properties yourself. file size, when the document was last saved or printed. Title, Author, Keywords and Comments) whereas others store statistics data that is updated automatically by Word and that cannot be edited, e.g. You can edit the value of some of the standard properties (e.g. The standard properties have fixed names that you cannot change. These properties are used to store certain types of metadata about your document. SharePoint 2010 SPListCollection.All Word documents contain a set of standard document properties, e.g.Sorting SharePoint 2010 SPFolders and SPFiles.Introducing the Template Library Connector for SharePoint 2010.Insert SharePoint 2010 Document ID in a Word document.SharePoint Person or Group site column problem.SharePoint 2010 SPListCollection.GetList by Id without permissions.
(this put in the quick part without assigning a value to it). Once you are happy with the template, DO NOT SAVE the document to the SharePoint library, instead use “Save As” to another non-SharePoint location, I used the desktop. Create a new document (based on the content type) and add the Quick Part for Document ID Value (it appears on my machine simply as “Label” at this point. Go to a document library and add the content type. In the Label format input field, write as you describe (this assumes Document ID Service is enabled).Edit your content type, select “Information management policy settings”.Create a content type if you haven’t already done so.In the content type hub, go to site settings – site content types.Make sure the DocId featue is enabled in the content type hub.Both site collections must be subscribing to the content type hub, so they inherit the content type.A site collection where the document ID feature is NOT enabled.A site collection where the document ID feature is enabled.the document if feature must be enabledin the CT hub.A content type in your content type hub.Now this turned out to be a challenge, but here is the best way I have found so far: You will need: So the document id feature is a cool thing with SharePoint, but how can you add the document id inside the document text? My client wanted to use the document id as a reference value in their letters, in the classic “Our ref.” field.Īdding the document id for one document is easy: First save your document in a library where the document id feature is enabled, close and re-open the document, select insert – quick parts – document properties, and select the “Document Id Value”.īut end users don’t want to be bothered with inserting quick parts! They use office templates and want the value to pop up by default in the correct place.