Solution for viewing HTML files in browser from SharePoint Document Library

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!

Share

1 thought on “Solution for viewing HTML files in browser from SharePoint Document Library”

Comments are closed.