Forum Discussion
Custom display and hover panel SP 2016
- DeletedApr 20, 2018
Did you check if the publishing features are activated on Site Collection and Web / Site level?
When those are not activated the HTML-Files are usually missing.
If you do not want to activate publishing features on this site you can create a Dev-Site with activated Publishing-Features and create your display templates via HTML-Templates there. Afterwards you can copy the .js file to the target site. Probably not a best practice but it works.
If those features are currently not active, I'm curious how you got into the Design Manager as these links are also only shown if publishing is activated.
Can you take a look at article below. Hope this helps
https://docs.microsoft.com/en-us/sharepoint/administration/stage-11-upload-and-apply-display-templates-to-the-content-search-web-part
Thank you for the reply. I attempted to map the network drive but get the following error:
I am doing this on the same box that sharepoint is installed and I am admin on that box.
- DeletedApr 17, 2018
Did you try instructions below?
https://docs.microsoft.com/en-us/sharepoint/dev/general-development/how-to-map-a-network-drive-to-the-sharepoint-master-page-gallery
- michael mezaApr 18, 2018Brass Contributor
I can now drop files into the mapped location. However when I drop an HTML file into the network location:\\drmspdev001@80\_catalogs\masterpage\Display Templates\Search
does not create any .js files.. as the document states should happen
- DeletedApr 18, 2018
Try going to web UI edit properties of html file set appropriate properties and check in and it should create a js file.
- michael mezaApr 18, 2018Brass Contributor
I did yes and that was my result, i can not map the drive on the machine where I have access.. i can map it from another machine but then i says i do not have permissions
Deleted wrote:Did you try instructions below?
https://docs.microsoft.com/en-us/sharepoint/dev/general-development/how-to-map-a-network-drive-to-the-sharepoint-master-page-gallery