I have been searching, but haven't find any solution, that seems to work for me. What I want to do is to link to file from SharePoint to local/network drive (neither one has worked for me).

What I have tried: file:///c|/.../file.docx, file:///c|/.../file.docx, file://\\c:/.../file.docx, nothing has had any result.

What I get is link, that has destination attached to it, but clicking it has no result.

I need to use this in Discussion Board template.

  • Have you tried: file:///\\server\share\somedoc.docx. You need 3 forward slashes after file: and the the usual fileshare path i.e. \\sever\sharename – Bunzab Apr 7 '15 at 13:05
  • Tried and result was, that SharePoint turned my URL into following: file://server/shared/somedoc.docx – Taurib Apr 7 '15 at 13:43

This is a default security feature of most (all?) modern browsers: links of type file:// are not allowed, that's why you don't see any result when you click on them.

There is a workaround that only works in Internet Explorer though. If you add your SharePoint site to the Trusted Sites zone, then file:// links will work.

  • Yet I have theoretical question, if User clicks on the link, then does SharePoint need to have access to that file, or only user does. For example, if SharePoint server doesn't see Network Drives, but User does. – Taurib Apr 8 '15 at 13:47
  • 1
    when the user clicks on the link, it's the user that needs to have the appropriate permissions to open the file. SharePoint doesn't even know that the user performed a click, it's completely a client-side thing – MdMazzotti Apr 8 '15 at 14:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.