Copy link to clipboard
Copied
We have 10 years old legacy site 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 is the functionality of mentioned js files and if we remove from the page what will happen to the existing site. Is it fine to remove or not?
Copy link to clipboard
Copied
is this related to an acrobat? reader? something else?
Copy link to clipboard
Copied
This is releated abobe experience manager (AEM)
Copy link to clipboard
Copied
that has its own forums where you should post your issue. unforunately, i cannot move your message to that forum, or i would do so.
general info - https://experienceleaguecommunities.adobe.com/
Copy link to clipboard
Copied
Thank you
Copy link to clipboard
Copied
you're welcome.
Copy link to clipboard
Copied
[Moderator moved from Creative Cloud to Cold Fusion.]
Copy link to clipboard
Copied
JavaScript functions in ColdFusion
Hope that helps.
Copy link to clipboard
Copied
Let me note regarding Nancy's link: while I appreciate she was just trying to help, that page refers to ColdFusion 9 Update 1, which is from 2009.
Sadly, like many pages in the cf docs, it shows a 2024 date on the page but it's not been touched in 15 years and is no longer a useful resource for those on any of the 6 CF versions since then (CF 10, 11, 2016, 2018, 2021, and 2023).
Copy link to clipboard
Copied
I'm confused, Aravind. You refer in your first post to "CF", and thus Nancy moved your post here to the cf (ColdFusion) forums. But before that you'd said, "This is releated abobe experience manager (AEM)".
So which is it? If somehow you really mean CF, I'll say that it does not process js files at all. And I don't recognize those two as ones that CF uses.
Copy link to clipboard
Copied
Good question, @aravind_0167 . ColdFusion does indeed contain the "system" files Container.js and utils.js, and you can't be too careful about deleting system files. By system I mean files that come built-in within ColdFusion.
Your ColdFusion installation may be old, but I can assure you that those Javascript files are still present. On my ColdFusion 2023 installation, the files are located, respectively, at:
It looks like the ColdFusion Administrator needs util.js. Container.js is part of ColdFusion's Ajax ExtJS implementation. A good number of such Ajax implementations have been deprecated in recent ColdFusion versions. So the need for Container.js is questionable. But the script is still there. I am guessing that it is there for a reason.
To cut a long story short: I would advise you not to remove the files Container.js and utils.js.