Domanda

Sto provando le fonti dei risultati al livello di applicazione del servizio di ricerca (cioè all'interno dell'amministratore centrale).Quando creo una nuova fonte, posso fare clic sul collegamento per avviare query Builder, ma il pannello di anteprima del risultato della ricerca fornisce il seguente errore:

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.

Correlation ID: 94b6249c-d255-602d-b77b-757efe4b3071

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: )
.

Questo è Central Admin, e quando vado alle impostazioni del sito, non esiste un collegamento "Caratteristiche della raccolta del sito", e nella funzione "Funzioni del sito" non è presente alcuna funzione "Search Server Web Parts and Templats".

Qualche idea come posso ottenere di nuovo il costruttore di query?

È stato utile?

Soluzione

Prova questo ... Apri il shell di gestione di SharePoint 2013 come amministratore ed esegui il seguente comando:

Enable-SPFeature SearchWebParts -url http://<central admin url>
.

Altri suggerimenti

Ho dovuto abilitare questo per l'applicazione Web.Stavo ottenendo lo stesso errore quando l'ho fatto per ca.

Enable-SPFeature SearchWebParts -url http://sales.portal.net ha funzionato per me.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a sharepoint.stackexchange
scroll top