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:
Open Sitefinity and create a page by using the Hybrid Templates e.g. Default template
Open the page and place the built-in search widgets with their WebForms template
Choose an index, save the changes and publish the page
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:
Navigate to Design → Widget templates in the Sitefinity backend
Locate the template with the name: Titles, excerpts, URLs and open it
Delete the line containing the “Summary“:
<dd class="sfsearchResultSnippet"><%#: Eval("Summary") %></dd>
4.Save the changes
Â