Gravatar for

Question by pblrok, Nov 30, 2017 9:55 AM

Coveo Hive and Search Interface events

In version 4.0 I can write this and it works

but in version 4.1 args is undefined. How can I make it works?

1 Reply
Gravatar for

Answer by François Lachance-Guillemette, Nov 30, 2017 1:36 PM

This looks like a jQuery conflict issue.

Since Sitecore already uses the `$`, jQuery is not properly registered in the Coveo JavaScript Search Framework.

I have managed to reproduce the issue when I include jQuery in my `head` tag, but have fixed the issue by including jQuery _just before_ the Coveo Search Resources, in its own rendering.

Ask a question