Forum Discussion

Scott_Whitmore's avatar
Scott_Whitmore
Brass Contributor
Dec 12, 2018
Solved

Document ID in a Quick Part for Word Templates used across Site Collections

Hi. I have a requirement to display the Document ID column value in a Document Template that is used across different site collections in SharePoint Online. The Document ID service is enabled for all...
  • Scott_Whitmore's avatar
    Scott_Whitmore
    Jan 17, 2019

    Hi everyone, So I’ve just had a breakthrough and managed to finally get this all working!

     

    To replicate the solution:

    1. Create a new Word document
    2. Copy it to a site collection with the Document ID service enabled
    3. Move the document outside of a SharePoint collection (locally on a PC)
    4. Create a ‘Document ID’ Content Control type (plain text or rich text)
    5. In the XML Mapping pane, find http://schemas.microsoft.com/office/2006/metadata/properties
    6. Find ‘_dlc_DocId’ Under properties/documentManagement
    7. Select the ‘Document ID’ Content Control
    8. Right click the ‘_dlc_DocId’ in the XML Mapping Pane and select ‘Map to Selected Content Control’
    9. Delete the contents of the ‘Document ID’ Content Control. Ensure that ‘Contents cannot be edited’ is unchecked in the Content Control Properties.
    10. Upload the document to a SharePoint site collection using the new ‘Add template’ feature described here
    11. Create a new document from the template drop down menu.
    12. Success

Resources