Forum Discussion

tgroppi's avatar
tgroppi
Copper Contributor
Nov 16, 2021

How to add a link to off line Html docs located on a sharedrive ?

Hi

 

We are trying to link a \\fileServerName\shareName\index.html from our shared networked to our Sharepoint site.

Our employees do not have internet access. So we've downloaded off line html documentation of some our software vendors and we would like our employee to access them within our Sharepoint community site.

 

Anyone ?

Thanks

Thomas

  • DanWatford's avatar
    DanWatford
    Copper Contributor

    Hi tgroppi 

     

    I don't have an on-premises SP environment to test this in, but you might be able to make this work by creating .url files in your SP document library.

     

    Create a text file with a .url extension and content similar to:

     

    [InternetShortcut]
    "URL=file:////fileServerName/shareName/index.htm"

     

    Upload the .url file to your document library. I can't do this on SharePoint online since .url files are blocked, but you should be able to override this for on-premises installations if needed. But check doing so is compatible with your security policy.

     

    An alternative might be to add links in your site header to file:////fileServerName/shareName/index.htm.

    • tgroppi's avatar
      tgroppi
      Copper Contributor
      Thanks let me give it a try

      Best
      Thomas
    • tgroppi's avatar
      tgroppi
      Copper Contributor
      Couldn't get this to work. Any other workarounds ? Tx
      • DanWatford's avatar
        DanWatford
        Copper Contributor

        tgroppi , can you elaborate on which part didn't work?

         

        Were you able to upload the .url file? If not then you will likely need to discuss with your SharePoint admin to permit those types of files to be uploaded.

Resources