Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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

3 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.