Gravatar for george.chang@perficient.com

Question by georgechang, Sep 29, 2015 3:06 PM

Coveo for Sitecore - Search Box + Omnibox Result List

I'm looking to use both the Coveo Search Box View rendering and the Coveo Omnibox Result List View rendering to have a persistent search box across a site that has autocomplete.

After adding Coveo Search Box View Resources, Coveo Search Box View, and Coveo Omnibox Result List View, I get a JavaScript error saying that CoveoForSitecore is not defined. That's cool. I'll just add a reference to CoveoForSitecore.js. Then, once I type in something that returns a suggested result, I get a JavaScript error saying "highlight is not defined".

Has anyone done this Search Box/Omnibox combo before or seen this issue?

1 Reply
Gravatar for george.chang@perficient.com

Answer by georgechang, Sep 29, 2015 3:16 PM

Never mind! I should read the documentation more carefully.

For those of you keeping score at home, if you're using an Omnibox Result List, don't use the Coveo Search Box View Resources rendering, use the Coveo Search View Resources rendering instead. Make sure you remove the Coveo Search Box View Resources rendering.

Ask a question