Forum Discussion

Ashish Jain's avatar
Ashish Jain
Copper Contributor
Apr 04, 2019

Rendering static HTML pages from SharePoint Online

As far as I know we cannot render static HTML pages from SharePoint Online site. They are being downloaded when clicked. However, recently, since last 2 days, many users are complaining that the html file links when click popups users to download the files whic previously were getting rendered in browser. Has anything changes recently, like any settings which by default allowed to default not allowed?

6 Replies

  • S_S_Ramana's avatar
    S_S_Ramana
    Bronze Contributor

    we also faced similar problems after migration from on-premsie to cloud.

    To fix this, we changed the extension of the html files to aspx. 

    • Ashish Jain's avatar
      Ashish Jain
      Copper Contributor

      S_S_Ramana I can but that doen't solve our purpose. There are many files in multiple folders across multiple sites. Also users are accustomed to html rather than aspx.

  • I have just tested this and what I see is that when you upload a very simple HTML page in a SPO Document Library, the Office 365 File Viewer is able to render it with no problems...so the issues your users are having could be related to the HTML files that are complex to deal with in the file viewer...just a guess
    • Ashish Jain's avatar
      Ashish Jain
      Copper Contributor

      Are you able to render the file in browser via a direct path? Not via the File Viewer. Direct file path like

       

      https://tenant.sharepoint.com/sites/test/documents/index.html

Resources