Forum Discussion
tgroppi
Nov 16, 2021Copper Contributor
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 do...
DanWatford
Nov 22, 2021Copper 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
Mar 17, 2022Copper Contributor
Couldn't get this to work. Any other workarounds ? Tx
- DanWatfordMar 18, 2022Copper 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.
- tgroppiMar 18, 2022Copper ContributorI did the .url file, but when you open it in SP it doesn't display the index.html the same way as Firefox. I do have admin rights. I could email a small off line web site to test if you want (Email address removed)
- DanWatfordApr 11, 2022Copper Contributor
Hi tgroppi
I don't have on-premise SP so I don't think I would be able to run anything that you send me.
You didn't mention what actually happened when you clicked on the .url file in SharePoint. Could you post a screenshot as it might give an idea of what to check next.
- tgroppiMar 18, 2022Copper ContributorOk i will