Update 2009-04-23 : Thanks to Coveo support. I was able so resolve this issue. See below for details.
While I was creating a custom web part using the jQuery treeview plugin, I ran into an issue with Coveo Search. The click events ( to expand / collapse the treeview nodes) didn’t work anymore. The web part works smoothly on my development and test machine but those machines do not have Coveo Search installed.
After debugging, and manually removing redundant JavaScript files , the CommonClientScripts.js seems to be the reason. This file is ‘injected’ by Coveo at the beginning of the page’s <body> tag. This injection is done by calling the following url:
{your SharePoint url}/_layouts/Coveo/SharePointCustomContent.aspx?k=ccs&z=1006065576
The injected JavaScript file does a lot of event handling and subscribes to various events. My guess is that registering to all these events breaks the jQuery functionality.
Disabling the Coveo Search features at site collection level solves the problem but (of course) also disables the search functionality in the site collection.
I haven’t found a solution yet. If you have some tips feel free to leave them in the comments.
[update 2009-04-23]
Thanks to Coveo support I was able to solve this issue. As they already stated in the comments it was indeed a very simple solution.
JQuery uses some keywords and expressions in a fashion that does not match with other libraries. Luckily jQuery has functionality to solve this as explained in this article
In short: You have to add an extra line (jQuery.noConflict();) and replace all your ‘$’ with jQuery.





Hi W0ut,
There’s most likely a conflict between Ajax frameworks. These conflicts are typically easy to resolve.
When you have a chance, please contact Coveo Support.
[...] For more detailed information about the issue I encountered see here. [...]