I’ve heard these mystical links called many things, whether persistent, permanent or durable, but they all mean the same thing:
Your document links will be unbreakable when changing file names or moving files because the links created for sharing/linking refer to the document by an ID instead of its common name.
But for this to work you must activate a site collection feature available only on SharePoint 2016 or later, or SharePoint Online/O365.
Before activating Document ID Service feature:
https://sharepointlibrarian.sharepoint.com/:w:/r/Shared%20Documents/TV%20Guide.docx?d=w5996b48071d14dc9a5fa6f01c4e763b1&csf=1&e=nBtnVp
After activating Document ID Service feature:
https://sharepointlibrarian.sharepoint.com/_layouts/15/DocIdRedir.aspx?ID=H6C7DWJ6MW7Q-1797567310-12
Activate the Document ID Service
- Go to site collection features (Site Settings –> Site collection features)
- Activate Document ID Service
Depending on how many documents your site collection has, this might take a while. You can occasionally refresh the Document ID Settings below until the red message is no longer present to check the status.
You will need to repeat this for each site collection in which you want that feature activated.
Add a prefix to document IDs
Some additional, optional, settings now available to you after having activated the Document ID Service feature include the ability to set a custom “string” to precede each document’s auto-assigned ID:
- In Site Settings, under “Site Collection Administration” click the new “Document ID Settings” option
- By default, it will have already started assigning IDs, but you can go ahead and enter a prefix and select “Reset” to make sure any existing IDs are updated to follow your prescribed convention.
- Click OK
Note that the Document ID Service does not generate globally unique IDs (ie at the tenant level).
These Document Service IDs are only unique within the site collection, and if you ever have to migrate these documents across site collection boundaries you can run into problems pretty quick because the IDs will change.