Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Using jQuery3 version on AEM

Avatar

Community Advisor

Hello,

 

OOTB AEM leverages jQuery 1.12* version. However, we want to use jQuery 3 instead of this default OOTB version. Most of the documentation seems to point to /etc/ for customization and is outdated.

 

We're planning to use a different namespace/variable name/object name for this custom jQuery 3 so they won't conflict.

 

Any ideas on implementing custom jQuery version on AEM?

 

Thanks.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Have you tried the below approach mentioned in the document:

https://helpx.adobe.com/in/experience-manager/kb/resolve-jquery-library-conflicts-aem6.html

 

Log in to CRX/DE Lite as administrator (http://localhost:4502/crx/de/index.jsp).

Go to /etc/clientlibs/foundation/jquery.

Add the value granite.jquery.noconflict after granite.jquery in the dependencies property.
Click Save All, to save the changes.

 

Thanks!

View solution in original post

4 Replies

Avatar

Correct answer by
Community Advisor

Have you tried the below approach mentioned in the document:

https://helpx.adobe.com/in/experience-manager/kb/resolve-jquery-library-conflicts-aem6.html

 

Log in to CRX/DE Lite as administrator (http://localhost:4502/crx/de/index.jsp).

Go to /etc/clientlibs/foundation/jquery.

Add the value granite.jquery.noconflict after granite.jquery in the dependencies property.
Click Save All, to save the changes.

 

Thanks!

Avatar

Community Advisor

we've customized in a different way but the below is not a solution and the documentation in that article is outdaed and does not fit for latest AEM versions.

Avatar

Level 2

How did you do the customization, Can you please share the steps?

 

Thanks