Gravatar for

Question by erkany, Feb 19, 2015 12:33 PM

Can't add coveo search view component to Sitecore page


Our developers do not have Coveo Admin services installed on their machines. They only install Coveo For Sitecore package - and we disable Coveo.SearchProvider.config file in order to prevent configuration errors.

One of the developer is trying to add "Coveo Search View" component to a page and after selecting the component to be added to page he gets "An error occured" popup error message,

When we use Firebug below is what we are seeing.

Question is : To work in page editor and configure Coveo components:

1- Do we need Coveo Services installed on the machine? 2- Do we need the Coveo Search Provider config enabled? If yes is it possible to have Coveo config file enabled successfully on a machine where CES and other services are not installed

From our troubleshooting this morning:

Firebug Net Tab Error Response: The field name translator must implement the interface "Coveo.Framework.Fields.IFieldNameTranslator

Firebug Console: "NetworkError: 500 Internal Server Error - http://sitecoreinstance/?scmode=edit&scitemid=%7b85EA0178-B734-4921-992E-BC6F94AC773B%7d&sclang=en&scde=SCPD85EA0178B7344921992EBC6F94AC773B&scphk=%2FPage%20Content%2FMain711894cc-efa3-4489-aed6-8bb16998900c&scco=0&scruid=E2BFF658FA3843CFA95E8783FDB38F56&scpa=%7BF0F76CDD-3B1F-4103-9E07-6EB415374C13%7D&rnd=0.31236565030352814" ?scmod…0352814 Could not find the rendering in the HTML loaded from server Sitecore.PageModes.ChromeTypes.Placeholder<._frameLoaded()1627469…4932.js (line 6529) f</<.proxy/g()1627469…4932.js (line 23) f.event.handle()1627469…4932.js (line 24) c = Object { originalEvent=Event load, type="load", timeStamp=1424358888888, more…} f.event.add/k()1627469…4932.js (line 23) a = load console.error("Could not find the rendering in the HTML loaded from server");

1 Reply
Gravatar for

Answer by Jean-François L'Heureux, Feb 19, 2015 12:56 PM

  1. Coveo services (CES, AdminService, Search API…) can be installed on a remote server and the same set of services can be used by many Sitecore instances from many different hosts (see Setting Up Coveo for Sitecore in a Remote Server Configuration).
  2. Coveo search pages translates field names and makes queries to the indexes. To be able to do that, those indexes must be initialized. The indexes configuration are in the Coveo.SearchProvider.config file. Thus, you need to enable it. You'll need to If you don't want to index from the developer instances and all you need is to add/edit Coveo components and query the index, you should disable indexing strategies for every search index, set their <SourceName> to the name of the existing sources in CES and set the <SecurityProviderName> to the name of of the existing security provider in CES (see Scaling Coveo for Sitecore Over Multiple Servers for an example use case).

I hope this helps.

Gravatar for

Comment by erkany, Feb 19, 2015 2:56 PM

Thank you - this was helpful

Ask a question