4

I'm trying to learn how to manipulate display templates on SharePoint. I have a SharePoint online account but I can only see the .js files and not the HTML files we're suppose to work with.

Is this normal for SPO?

  • Is this browsing from the Interface or from SharePoint Designer? – Omar Stewey Sep 21 '14 at 23:59
  • Both. I found the solution. Apparently I need to turn on Publishing Features. – Batman Sep 22 '14 at 0:57
  • @Batman If you found a sloution, please post it as an answer and mark it as the accepted answer. It will help others with the same problem. Thank you! – Benny Skogberg Sep 24 '14 at 6:36
11

You need to turn on Publishing Features on your site for the HTML pages to show up, from there you can edit the HMTL files and create new display templates. And yes, this is documented no where.

  • For clarity; you must turn on SharePoint Server Publishing Infrastructure in the Site Collection Features. The corresponding site feature is not required, just the site collection feature. – Dexter Jun 27 '15 at 9:25
2

Also, make sure you search at the right place for the HTML files:

All Files -> _catalogs -> masterpage -> Display Templates

Source

  • Thanks for that - I was looking in SPD and couldn't find them at Portal > Master Pages > Display Templates > Content Web Parts - then I tried in _catalogs and voila! – bgmCoder Jul 22 '17 at 22:23

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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