Working with the built-in Sitefinity widgets

Description:

When using the default Sitefinity search widgets with the default page template a server error is generated during the search executed on the frontend.

 

Steps to reproduce:

  1. Open Sitefinity and create a page by using the Hybrid Templates e.g. Default template

  2. Open the page and place the built-in search widgets with their WebForms template

  3. Choose an index, save the changes and publish the page

  4. Navigate to the front-end of the page and do a search

Expected result:

The server error is generated

Error:

DataBinding: 'Telerik.Sitefinity.Services.Search.Model.Document' does not contain a property with the name 'Summary'.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Resolution:

  1. Navigate to Design → Widget templates in the Sitefinity backend

  2. Locate the template with the name: Titles, excerpts, URLs and open it

  3. Delete the line containing the “Summary“:

<dd class="sfsearchResultSnippet"><%#: Eval("Summary") %></dd>

4.Save the changes

Â