Display Template HTML file missing in SharePoint online

Today was trying to work on the display template in SharePoint Online.

As documented every where, that can go to Site Galleries->Master Page->Display Templates :     <your site url>/_catalogs/masterpage/Forms/AllItems.aspx and display templates folder, to get the existing templates.

However, I was just seeing all the .js files not the HTML where I supposed to work.

Finally found the cause is Publishing Feature.

Solution:

We must turn on SharePoint Server Publishing Infrastructure feature in the Site Collection Features. for the HTML pages to show up, from there we can edit the HTML files and create new display templates.

This is not documented any where.

Hope small tip will save your time!


Comments

  1. We must turn on SharePoint Server Publishing Infrastructure feature in the Site Collection Features. for the HTML pages to show up, from there we can edit the HTML files and create new display templates.front end developers

    ReplyDelete
  2. Above information not available on other site.

    ReplyDelete
  3. This article on missing display template HTML files in SharePoint Online is super helpful! Just like Better Joy enhances your gaming, resolving these issues can improve your SharePoint experience.

    ReplyDelete

Post a Comment

Popular posts from this blog

Search Result Webpart,Filter result If QueryString is present in URL

SharePoint 2013 Workflow gets canceled automatically

Permission denied for "Add and Customize Pages" in Sharepoint Online