Forum Discussion
How to add a link to off line Html docs located on a sharedrive ?
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.
- tgroppiMar 17, 2022Copper ContributorCouldn'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)
- tgroppiNov 26, 2021Copper ContributorThanks let me give it a try
Best
Thomas