7

I'm using office 365. I would like to be able to click on an html file in the document library and have it open in the browser instead of prompting me to download. How would I do this?

13

I'm quite sure this answer from support is still valid, even though it was written pre SP 2013:

"I understand that you'd like to open HTML file in browser directly but not download it. The issue that you are seeing is by design. This is because of the way that permissive file handling works with SharePoint Online 2010 with Office 365. Unfortunately, currently there will be no way to allow for opening html files without downloading them."

From this thread

The workaround suggested back then was to rename the files, replacing .html with .aspx, I suggest you to check if that is still a viable solution

  • Glad to here that! Please mark as an answer :) – Robert Lindgren Mar 15 '14 at 15:43
  • A million thanks for this answer, Robert. I've looked through countless forums for a solution to this issue, and you're the only person who has bothered to post the answer. Much appreciated! – user31490 Jul 13 '14 at 20:03
  • 2
    This answer is still valid for o365, glad this helped me out – Nitesh Jan 21 '15 at 12:54
  • I am seeing this solution working in one tenant but failing in another. I have looked around at the library settings and site settings and so far am not seeing knobs that can affect this. – Kirk Liemohn Apr 20 '17 at 15:41
  • on my production tenant, - site collection X : working fine on 1 document library - site colelction Z : not working in all document library Meanwhile in my test tenant, initially it was not working, but now it is working in all site collection and document library. I dont know what triggering this. I cant make my production tenant open aspx file in browser. crazy on this. anyone has miracle here? – Eric Jul 5 '18 at 9:12

protected by Community Jan 15 '15 at 14:24

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

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