I saw this question flying around the other day and thought it was kind of interesting. Someone was asking about the cool new thumbnail previews you get for items in search results in SharePoint 2013. They really liked how Microsoft Office documents work and wanted to be able to do the same thing with PDF…
Tag: Display Templates
Running Client Script in a Display Template After Rendering is Complete in SharePoint 2013
My friend Bryan asked me a good question the other day about how to create a display template that would do its rendering thing, but then run his own javascript function afterwards. After doing some snooping around, one of my other buddies Jesus was good enough to share the magic mystery meat to this problem. To…
Debugging Display Templates
Right after I published my last post on using custom display templates, of course one of the first questions I got was great – how do I debug them? Well there are a couple of ways that I’ve found to debug these: In your display template add your own javascript after the first div tag…
Using Query Rules, Result Types and Display Templates for a Custom Search Sales Report in SharePoint 2013
<Standard Disclaimer: Blog formatting sucks. Do your eyes a favor – download the attachment, which is the Word document version of this.) UPDATE: a few things have changed for RTM so I am updating this post and adding the artifacts I used to create everything. Okay, a long title for today’s topic but we’re going…