Forum Discussion
Melissa Klug
Nov 22, 2017Copper Contributor
Open HTML files in browser - SharePoint Online
I'm trying to open HTML files that are saved in a Document Library created on a Team site (using Office 365 Groups). When we add HTML files to the library they will only download and then open. We wo...
Melissa Klug
Nov 22, 2017Copper Contributor
We have and that works but one of our users has a library with over 30 html files that he would like to be able to click on in the library and then just open in the browser instead of having to set up a page for each one.
MothraMoon
Jun 24, 2019Copper Contributor
Melissa Klug I had about 650 html and gif files in an old sharepoint folder (I think it was 2013 version) and it worked perfectly. I linked a contents page to a landing page which anyone with a credentials could access. Our IT people have discontinued that site and I am left struggling with this "new" Sharepoint. I uploaded all of my files into a document library like I did the old one, but it won't access the images (unless I put the full path in which is absurd so instead of imgsrc="myimage.gif it now has to be imgsrc="https://MYSCHOOOL.sharepoint.com/sites/Testing123/Shared%20Documents/myimage.gif). I also cannot navigate from page to page by clicking "next" which would load the page (like href="nextpage.html") If I put long file name in front of that, nothing happens. It still does not work.
I have also tried changing the file extensions to aspx and that does not work either. I need to keep using these files the way they are. I cannot create a new page in share point for all of them. They are all interconnected via a table of contents and it is too cumbersome to redirect all those links (even if it did work) and it is too cumbersome to have to rebuild all the pages.
What in the world changed? Why can't this work like it used to????
Supposedly there is a way to change a setting from Strict to Permissive but nobody ever tells you where to find that setting. I have been banging my head against a wall for six days now. There just has to be a way forward. I just can't believe microsoft would inflict so much pain on everyone. If I do not fix this, my life is over.
- Kim RushbrookeJun 28, 2019Copper Contributor
Hello, I was wondering if you found a solution to the problem of not being able to run a web page using (index) files in the browser?
Thank you
- MothraMoonJun 28, 2019Copper Contributor
Kim Rushbrooke wrote:Hello, I was wondering if you found a solution to the problem of not being able to run a web page using (index) files in the browser?
Thank you
No. It is positively the most frustrating, MADDENING experience of my entire life. Usually I can figure this stuff out eventually. However, I am beginning to think that THIS IS MY WATERLOO!!!!!!I have noticed the pages absolutely do not open in IE. However in Chrome and Firefox they did minus the graphic images (broken links). It's a series of pages connected by having the user click "Next" to take them to the next page of a tutorial. It works fine everywhere on the planet....including the old SharePoint site where it was stored for 7 years. That came to an abrupt end (no one giving me any advance warning whatsoever). So now I am undergoing a CRASH PANIC COURSE in how to fix this.
Where I am at now is that my I have to put the Long Path in so instead of 001printref.gif I have to do something like:
For the image
For the Style SheetSo far so good.Then, for the link to the next page in the tutorial, instead of 002printref.htmlI put the long file path in like this:However, instead of taking me to that next page, it downloads a copy of the page into my downloads folder on my C: drive.Is there a way to make this stop?? Do I have to be an administrator to do it (like Powershell)??WTF????????????? Am I the only person on this planet who has this problem? You would think.BTW, I am using SharePoint Online in Office 365. I have read that there is no fix for this. But I just refuse to believe it. I don't have any Java in my web pages and there is no real classified information contained within. It is just bogus.- amwreckJul 01, 2019Copper Contributor
MothraMoon I am having the same issue. I just migrated a library with an html page and it downloads rather than just opening in the browser. I have tried setting the "Open with" to client application and browser (which would be the client application anyways) and neither make a difference. I tried saving the file as .aspx but that did not work. My guess is the .htm and .html files are not defined in the search service. On SP2013, I was able to set that it in the Search Service Application under "File Types > Manage File Types". That option does not seem to exist in SPO.
- MothraMoonJun 28, 2019Copper Contributor
No. It is positively the most frustrating, MADDENING experience of my entire life. Usually I can figure this stuff out eventually. However, I am beginning to think that THIS IS MY WATERLOO!!!!!!
I have noticed the pages absolutely do not open in IE. However in Chrome and Firefox they did minus the graphic images (broken links). It's a series of pages connected by having the user click "Next" to take them to the next page of a tutorial. It works fine everywhere on the planet....including the old SharePoint site where it was stored for 7 years. That came to an abrupt end (no one giving me any advance warning whatsoever). So now I am undergoing a CRASH PANIC COURSE in how to fix this.
Where I am at now is that my I have to put the Long Path in so instead of 001printref.gif I have to do something like:
For the image
For the Style SheetSo far so good.Then, for the link to the next page in the tutorial, instead of 002printref.htmlI put the long file path in like this:However, instead of taking me to that next page, it downloads a copy of the page into my downloads folder on my C: drive.Is there a way to make this stop?? Do I have to be an administrator to do it (like Powershell)??WTF????????????? Am I the only person on this planet who has this problem? You would think.BTW, I am using SharePoint Online in Office 365. I have read that there is no fix for this. But I just refuse to believe it. I don't have any Java in my web pages and there is no real classified information contained within. It is just bogus. - Stuart YoungJun 28, 2019Copper Contributor
Just clicking on the HTML file seems to work using Chrome but not MSIE on both Mac and Win.??