“A Fond Farewell to .xslt”
The IT Leader's Guide to Multicloud Readiness
This guide provides practical key insights and important factors to consider to make informed decisions in your multicloud journey.
If you’re a SharePoint Search developer, or are heavily involved in Search in SharePoint, I believe that you will be pleasantly pleased with some of the changes that should make developing on the SharePoint 2013 platform simpler. However, the downside in this case is that all of that wonderful work you did on .xslt may be completely moot. It’s gone, and replaced with what Microsoft has coined Display Templates. Don’t fret too much, because Display Templates interface with many other parts of the SharePoint 2013 search platform and allow for a very versatile and dynamic search solution.
So what are Display Templates?
First off, head over to your results.aspx page on your search center. If you don’t know where the “Site Actions” –> “Edit Page” functionality has gone, check out the upper right section of your ribbon where the cog is as shown below.
Once you’re in Page Edit mode, find the Search Results web part (previously Search Core Results) and Edit the web part.
Find the “Display Templates” section under Properties for Search Results and expand. Here, you’ll find your two main choices for how to display search results. You can use result types to display your search results or you can use a single type to display your search results.
So there you have the basics of Display Templates. Stay tuned for Part 2 where we will look at modifying Item Display Templates and create your own.