Forum Discussion
Is there any way to generate Sharing Link without breaking inheritance on file
- kalpeshvaghelaSteel Contributor
If you are referring below option then even it will not generate unique link because here link will still have absolute path in link and it will break once document is moved somewhere else.
Below is the generated link using above option.
https://contoso.sharepoint.com/:f:/r/sites/Template/Shared%20Documents/TEST?csf=1&web=1&e=A5Va9J
Here I would suggest to go with Document ID feature. Below are some reference links to use it
Then your unique link would be https://contoso.sharepoint.com/sites/DocId1/_layouts/15/DocIdRedir.aspx?ID=DocumentID
Important: As per my knowledge above approach would only work when you move document withing same site collection but when you move document to another site collection link will be changed any way.
Hope it will helpful to you and if so then Please mark my response as Best Response & Like to help others in this community
- Rohit404404Brass ContributorThank you. however, dpcumentID generation is delayed by few mins .. hence we wont know when its available. So we are looking for sharing option