Tuesday, February 18, 2014

Solving query builder not working in SharePoint 2013 Central Admin

When you try to create a result source in SharePoint Server 2013 at Search Service Application level you might see an error when you are using the search result preview panel.



The Search display templates are not present on this site collection. To add them, you need to activate the "Search Server Web Parts and Templates" feature on the Site Collection Features page.
Display Error: The display template had an error. You can correct it by fixing the template or by changing the display template used in either the Web Part properties or Result Types. Template '~sitecollection/_catalogs/masterpage/Display Templates/System/Control_QueryBuilderPreview.js' not found or has syntax errors. (LoadTemplate: )

To solve this you actually have to do the following – open the SharePoint Server 2013 Management Shell and run the following PowerShell command:

Enable-SPFeature SearchWebParts -url http://


No comments: