Need a Clarity on Core component Container.js and utils.js | Community
Skip to main content
Level 2
October 3, 2024

Need a Clarity on Core component Container.js and utils.js

  • October 3, 2024
  • 2 replies
  • 1163 views

We have 10 years old legacy site which has been developed by AEM on premise and as part of one requirement we are planning to move all the css and js files into CF but we are not sure about core component container.js and utils.js, Just want to know what those mentioned js files will do in the site and if we remove from the page, what will happen to the existing site. Is it fine to remove or not?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

konstantyn_diachenko
Community Advisor
Community Advisor
October 3, 2024

Hi @aravindb1 ,

Can you please provide more details about files what are you asking for? I am wondering in file paths.

Kostiantyn Diachenko, Community Advisor, Certified Senior AEM Developer, creator of free AEM VLT Tool, maintainer of AEM Tools plugin.
AravindB1Author
Level 2
October 3, 2024

Hi,

adding file paths,

Do we really need this files?

/core/wcm/components/commons/site/clientlibs/container.js
/core/wcm/components/commons/site/clientlibs/utils.js

konstantyn_diachenko
Community Advisor
Community Advisor
October 3, 2024

Most likely these files are parts of Core Components clientlib (core.wcm.components.commons.site.container). I think they are required if you use core component container on the site.

Kostiantyn Diachenko, Community Advisor, Certified Senior AEM Developer, creator of free AEM VLT Tool, maintainer of AEM Tools plugin.
kautuk_sahni
Community Manager
Community Manager
October 15, 2024

@aravindb1 Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!

Kautuk Sahni