Why result types and display templates for word, PDF, power point and more files are different? What will be the problem if I set search results of word, PDF, power point files to the same display templates?

  • 1
    Why do you want to do this? Dec 10, 2016 at 13:15
  • Actually I need to change the view of Search Result Items.So, instead of editing all the display templates(PDF, power point,Word,...) why can I create new display template and set the same display template for all search result items.In order to choose the best one I need answer for the above question
    – Kumaraguru
    Dec 12, 2016 at 4:54

2 Answers 2


Different file types have different display templates because they are rendered differently in search results. For e.g. for PPT files, you get to see preview image of the pptx document. Upon hover you can also see the interactive slideshow view in the preview thumbnail in hover panel. For word document you are able to see docx preview in the hover panel. For people search, you get to see the profile image and profile properties for each search result.

If you want to use same display template regardless of the result type, you can modify the search results web part and under web part tool pane, expand Display Templates and select option "Use a single template to display items" and select the display template from the drop down menu that you want to associate for all result types.

See this link to know more on display templates and result types

  • There is no link.....What will be the advantages and disadvantages of using same display template?
    – Kumaraguru
    Dec 9, 2016 at 7:52
  • I have updated the link. Pros and Cons are driven by business requirements. Pros could be easier management as only one display template is involved. Cons could be less flexibility. Again it is all relative to the requirement you intend to achieve, Dec 9, 2016 at 8:21


  1. Customization of search results display can be done in single template
  2. Addition of new ManagedPropertyMapping can be done in single template in case your search results need to display additional properties associated with the item.


  1. Preview of the office documents on hovering the search results will not load in case you use same template for all the result types.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.