What is the usage of /etc.clientlibs/clientlibs/granite/jquery.min.js?v=aemv and /etc.clientlibs/clientlibs/granite/utils.min.js? | Community
Skip to main content
JakeCham
Level 6
Mar 16, 2021 7:58 AM UTC
Solved

What is the usage of /etc.clientlibs/clientlibs/granite/jquery.min.js?v=aemv and /etc.clientlibs/clientlibs/granite/utils.min.js?

Hi Team,

I want to get to know about the usage of clientlibs which are /libs/clientlibs/granite/jquery and /libs/clientlibs/granite/utils.I have found the scenario without these two client libs embedded when we adding contexthub it is giving an console error.Can you explain what is the purpose of adding those two urls ? If they are not purposely added can I remove them ? 

 

Thanks 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Kiran_Vedantam
Kiran_VedantamAccepted solution
New Participant
Mar 16, 2021 9:35 AM UTC

Hi @jakecham,

 

jQuery and utils are the dependencies that AEM provides. You can either add them in the dependencies section or in the embedded section as per your requirement.

 

You can go and check the files and their functionalities below

  • /libs/clientlibs/granite/utils
  • /libs/clientlibs/granite/jquery

If you do not want them, you can remove them as they are the dependencies, but I doubt the same case with utils as they have multiple util functions. Please test thoroughly once they are removed.

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

1 reply

Kiran_Vedantam
Kiran_VedantamAccepted solution
New Participant
Mar 16, 2021 9:35 AM UTC

Hi @jakecham,

 

jQuery and utils are the dependencies that AEM provides. You can either add them in the dependencies section or in the embedded section as per your requirement.

 

You can go and check the files and their functionalities below

  • /libs/clientlibs/granite/utils
  • /libs/clientlibs/granite/jquery

If you do not want them, you can remove them as they are the dependencies, but I doubt the same case with utils as they have multiple util functions. Please test thoroughly once they are removed.

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

Translate