Solution for viewing HTML files in browser from SharePoint Document Library

By Namwar Rizvi - Last updated: Sunday, March 25, 2012 - Save & Share - One Comment

In SharePoint 2010 document library, if you click on a file with .html extension, you will notice that browser will open Save File dialogue box. This behaviour stops you to view HTML files directly in browser from document library and some times it is very annoying.

To resolve it and view HTML files in browser, here are the steps:

  1. Open SharePoint Central Administration
  2. Click Application Management
  3. Under Web Applications, click Manage web applications
  4. Click on your target web application to select it
  5. On ribbon, click on Web Application tab
  6. Open General Settings menu and click on General Settings
  7. General Settings UI Tab

  8. Scroll to Browser File Handling and change it from Strict to Permissive
  9. Browser File Handling

  10. Click OK to save your changes
  11. Thats it!

Now, go back and try to view HTML file, browser will display it. Enjoy!

Posted in Architecture, Management, SP2010, Tips, Troubleshooting • Tags: , , , , , , Top Of Page

One Response to “Solution for viewing HTML files in browser from SharePoint Document Library”

Comment from todd
Time April 30, 2013 at 5:46 am

I’m on Sharepoint wiht O365. I can’t find this setting…does it exist?

Write a comment