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?
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Hi @AravindB1 ,
Can you please provide more details about files what are you asking for? I am wondering in file paths.
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
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.
Thanks @konstantyn_diachenko , got the clarity about container.js but do you have any idea on utils.js ?
do you know why we should use this in the page?
Hi @AravindB1, I am sorry, unfortunately, it's very hard to say what is going on inside the file just by its name.
You would need to check code inside of this file.
Try to do the following steps:
1) do not migrate utils.js
2) check that container works as expected on author and on publisher and you don't see any related errors in the console
3) if you face any issue with container, will migrate this file as well
@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!
Views
Replies
Total Likes
Views
Likes
Replies