Hi,
I have custom page with content search web part on it and trying to deploy it using module in feature. In elements.xml i've added AllUserWebPart element and added webpart definition which i've got after exporting existing content search web part. But after
deploy my custom display template is not applied, instead default is used.
In webPart properties i have
<property name="ItemTemplateId" type="string">~sitecollection/_catalogs/masterpage/Display Templates/Content Web Parts/Custom.js</property>
What can be a cause of the problem?
Best regards, Chernobrivets