Forum Discussion
My Content Type instances have duplicate Document IDs (dlcdocid).
Hi, I have a Documents library with Content Types enabled, and with the Document ID service enabled. However new documents do not have a unique ID, but all get assigned the same ID as the content type template.
The setup
- I enabled Document ID service via the Site Collection Features:
https://<domain>.sharepoint.com/sites/<sitename>/_layouts/15/ManageFeatures.aspx?Scope=Site - I enabled and configured content types.
- I created a Word template in the SharePoint library, and used Insert > Quick Parts > Document Property to create form fields sync'd with the Library/content type columns (Description, Project, Status).
- I downloaded the Word template from the same library into my OneDrive sync'd location, and uploaded it to the site collection's Content Types https://<domain>.sharepoint.com/_layouts/15/online/AdminHome.aspx?modern=true#/contentTypes and sync'd to the site content types.
- I created documents in the library using the "New" menu.
Later I ask the user or reviewer to update the document frontsheet with the dlcdocid (Insert > Quick Parts > Document ID value, or Insert > Quick Parts > Field... > DocProperty > _dlc_DocId) as well as the SharePoint Version using the policy label method (https://learn.microsoft.com/en-us/answers/questions/5146555/sharepoint-label-to-embed-version-in-word-doc-havi) via Insert > Quick Parts > Document Property > Label.
The Problem
In the Documents library, new Word files are being re-assigned the original dlcdocid of the template (say DOCUMENT-0123456789-5). Now the "unique" URL shows me a list of multiple files all with DOCUMENT-0123456789-5. This is a read-only field so I cannot edit or delete the IDs.
I want to have a Content Type template, with the frontsheet/header/footer fields sync'd with the Library columns, but I also want each document to have a unique ID and version.
Help requested
- Is there a way to fix the template to clear the template ID, and to avoid this issue on future templates?
- How should I replace the template?
- Is uploading Template copies to the Content Type bad?
- Should I instead point to the file URL? Does it matter where the Template file is stored?
- Are there any ways to reset the ID of the few existing documents with the duplicate value?