When you create a custom Display Template and you deploy it, you can see the HTML uploaded, but you can’t see its JS (created automatically in theory).
Problem:
You don't have the correspondent JS of your HTML Display Template
Solution:
1. Access to your Site with SharePoint Designer 2. Go To: All Files -> _catalogs -> masterpage -> Display Templates -> Content Web Parts 3. Check out and open your HTML and edit some part (Add a space, for example). 4. Close the file, check it in and publish a major version.
Now you should see the JS created.
No Responses