Display Templates for Search and Content Web Parts

Creates Display Templates that can be used by Content Web Parts.

SharePoint 2016

Feature Details

8b2c6bcb-c47f-4f17-8127-f8eae47a44dd
Site
True
True
False
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\Template\Features\SearchTemplatesandResources
Microsoft.Office.Server.Search.Administration.SearchTemplatesFeatureReceiver, Microsoft.Office.Server.Search, Version=16.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c

Content of the Feature

Content Type: Base Content Type containing common Display Template columns. Use one of Control, Group, Item or Filter Display Template content types to create a display type.

0x0101002039C03B61C64EC4A04F5361F3851066
_Hidden
{fa564e0f-0c70-4ab9-b863-0177e6ddd247} Title
{9da97a8a-1da5-4a77-98d3-4bc10456e700} Description
{0A9EC8F0-0340-4E24-9B35-CA86A6DED5AB} TemplateHidden
{CAB85295-B195-4AC2-8323-87C602E6AC9D} TargetControlType
{3C318A40-0D51-408D-BA71-16FA845B9FE5} CrawlerXSLFile

Content Type: Display Template Code javascript that registers and executes Display Template rendering logic.

0x0101002039C03B61C64EC4A04F5361F385106605
_Hidden
{FA181E85-8465-42fd-BD81-4AFEA427D3FE} DisplayTemplateLevel
{A0DD6C22-0988-453E-B3E2-77479DC9F014} ManagedPropertyMapping
{DCB8E2A9-42D1-495F-9FDA-4BF9C706BC46} CompatibleSearchDataTypes
{BAB0A619-D1EC-40D7-847B-3E4408080C17} CompatibleManagedProperties

Content Type: HTML, JavaScript, CSS, images, and other supporting files in the Master Page Gallery used by HTML Master Pages, HTML Page Layouts, and Display Templates.

0x010100C5033D6CFB8447359FB795C8A73A2B19
_Hidden

Field: Compatible Managed Properties

Enter the names of the managed properties that you would like to use this Filter Display Template with. The managed properties with names that start with the values you enter will be able to use this Display Template.

{BAB0A619-D1EC-40D7-847B-3E4408080C17}
Note
CompatibleManagedProperties
Display Template Columns
FALSE
TRUE

Field: Compatible Search Data Types

Select the Search managed property data types that this Filter Display Template will be used with. If you don't enter any values, the Display Template will be available for all data types.

{DCB8E2A9-42D1-495F-9FDA-4BF9C706BC46}
MultiChoice
CompatibleSearchDataTypes
Display Template Columns
FALSE
TRUE

Field: Crawler XSL File

Add an XSL file to be used to generate HTML when crawlers are viewing the page.

{3C318A40-0D51-408D-BA71-16FA845B9FE5}
URL
CrawlerXSLFile
Display Template Columns
FALSE
TRUE

Field: Hidden Template

Hide this Display Template where people select from an available list of search Display Templates.

{0A9EC8F0-0340-4E24-9B35-CA86A6DED5AB}
Boolean
TemplateHidden
Display Template Columns
FALSE
TRUE

Field: Managed Property Mappings

Enter the slots and the managed properties that map to the slots. This field will be used to determine which managed properties are retrieved from SharePoint Search when you are using this Display Template. Use the format "slot name":"property name", separated by commas.

{A0DD6C22-0988-453E-B3E2-77479DC9F014}
Note
ManagedPropertyMapping
Display Template Columns
FALSE
TRUE

Field: Target Control Type (Search)

Select the search controls that will use this Display Template.

{CAB85295-B195-4AC2-8323-87C602E6AC9D}
MultiChoice
TargetControlType
Display Template Columns
FALSE
TRUE

Field: Template Level

Select the level of data that this display template expects and is designed to display. This determines where this template will appear as a selectable option in configuration UIs.

{FA181E85-8465-42fd-BD81-4AFEA427D3FE}
Choice
DisplayTemplateLevel
Display Template Columns
FALSE
TRUE

Module: CatalogDisplayTemplates

_catalogs/masterpage/Display Templates/System
DisplayTemplates
TRUE
  • Control_CatalogDefault.js
  • Item_CatalogDateTime.js
  • Item_CatalogDefault.js
  • Item_CatalogItemPicker.js
  • Item_CatalogItemPicker_HoverPanel.js
  • Item_CatalogRich.js
  • Item_CatalogTitle.js

Module: CBSDisplayTemplates

_catalogs/masterpage/Display Templates/Content Web Parts
DisplayTemplates
TRUE
  • Control_List.js
  • Control_ListWithPaging.js
  • Control_Slideshow.js
  • Item_Diagnostic.js
  • Item_LargePicture.js
  • Item_Picture3Lines.js
  • Item_PictureOnTop.js
  • Item_RecommendationsClickLogging.js
  • Item_TwoLines.js

Module: FilterDisplayTemplates

_catalogs/masterpage/Display Templates/Filters
DisplayTemplates
TRUE
  • Filter_eDiscoveryExchangeRefinement.js
  • Filter_eDiscoveryExchangeTypeRefinement.js
  • Filter_eDiscoverySharePointRefinement.js

Module: SystemDisplayTemplates

_catalogs/masterpage/Display Templates/System
DisplayTemplates
TRUE
  • Control_eDiscoveryExchangeResult.js
  • Control_eDiscoverySharePointResult.js
  • Control_TopReport.js
  • Item_eDiscoveryExchange_HoverPanel.js
  • Item_eDiscoveryExchangeResult.js
  • Item_eDiscoverySharePoint_HoverPanel.js
  • Item_eDiscoverySharePointResult.js
  • Item_TopReport.js
  • Item_VideoVertical.js

Features dependent on the feature