SharePoint Online: How to Get Direct Link to a Document In Modern Libraries?

Requirement:  Get direct link to document in SharePoint Online.

SharePoint Online: Get Direct Link to Document 
Unlike SharePoint Online classic experience, modern document libraries doesn't provide direct link to documents. However, here is the trick to get direct link to file:
  • Navigate to your SharePoint Online document library, Select the file and click on "Copy Link" from toolbar.
  • In the link settings popup, Select "People with existing access" and click on Apply.
  • That gets you the link something like: https://crescenttech.sharepoint.com/:w:/r/Documents/2018/ComplianceDeclaration.xlsx?d=wfd7f94f6baf55c2eaeb7e906ebd7ffb5&csf=1&e=Yys7gY
  • Remove everything from ?d= and remove /:w:/r (sometimes :/x) and the direct link will be: https://crescenttech.sharepoint.com/Documents/2018/ComplianceDeclaration.xlsx

Get Direct Link to File in SharePoint Online from Version History:
If you have Version history enabled, you can copy the direct link from the latest version of a file. 
sharepoint online direct download link
SharePoint Online: How to Get Direct Link to a Document In Modern Libraries? SharePoint Online: How to Get Direct Link to a Document In Modern Libraries? Reviewed by Salaudeen Rajack on June 11, 2018 Rating: 5

No comments:

Please Login and comment to get your questions answered!

Powered by Blogger.