Hello all.
I'm attempting to deploy display templates using a feature. I'm able to add the display templates to the correct folder in the master page gallery. However, the associated .js file isn't generated after the file is added. If I edit the properties of the same item, the .js file is generated afterwards. Has anyone else deployed display templates via feature? Thanks in advance.
Here's what my elements.xml file looks like:
<Elements xmlns="http://schemas.microsoft.com/sharepoint/"><Module Name="Display Templates" Path="Display Templates" Url="_catalogs/masterpage/Display Templates/Content Web Parts" RootWebOnly="TRUE"><File Path="Item_Recipe.html" Type="GhostableInLibrary" Url="Item_Recipe.html"></File></Module></Elements>
Lester Sconyers