Caution to update modify search display template

search

Fix applied

 

  1. Download the html file ~sitecollection/_catalogs/masterpages/display templates/search/Control_SearchResults.html
  2. Under <mso:CustomDocumentProperties> tag remove the below

<mso:HtmlDesignAssociated msdt:dt=”string”>1</mso:HtmlDesignAssociated>

<mso:HtmlDesignStatusAndPreview msdt:dt=”string”>https://wipro365.sharepoint.com/sites/entsearch-dev/_catalogs/masterpage/Display Templates/Search/Control_SearchResults.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>

<mso:HtmlDesignConversionSucceeded msdt:dt=”string”>True</mso:HtmlDesignConversionSucceeded>

<mso:CrawlerXSLFile msdt:dt=”string”></mso:CrawlerXSLFile>

 

  1. And remove the tag

var g_duration = 102;

var g_iisLatency = 1;

var g_responseEnd = new Date().getTime();

 

How it was found

By downloading the fresh file from a new search center.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s