I am facing a weird issue. When I'm uploading custom Display Template JS file and custom Item Template JS file using an Add-In, for some reason it is not showing in the webpart properties. But when I do the same thing manually, it comes in thr dropdowns for Display and Item properties of Content Search Web Part.

I have checked all the properties of uploaded JS files, Check-Out and Check-in, and Publishing the files as well. Still of no use. My Site is a Publishing Site.

Can anyone guide me towards the solution?

  • 2
    Try uploading the html files instead. SP should auto-generate those JS files for you (publishing feature needs to be turned on) – Aveenav Apr 5 '16 at 16:02
  • Be sure to publish, too, otherwise the new template won't appear in the dropdown. – nsturdivant Dec 22 '16 at 20:49

Your Answer

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

Browse other questions tagged or ask your own question.