Sorting SharePoint 2010 SPFolders and SPFiles.Introducing the Template Library Connector for SharePoint 2010.Now, use this document as the template for the content type. (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: To add a conditional field in MS Word, ensure that your text cursor is located in your document where you want the conditional text to display, then click on the 'Insert' tab then click on the 'Quick Parts' icon in the 'Text' group (Newer versions of Word will not have the Quick Parts icon, but they will have the Field icon). 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. Adding Conditional Fields to a Word Template.