Skip to main content
Participant
Oct 3, 2024 11:35 AM UTC
Question

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

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?

This topic is closed to new replies. Start a new post to keep the conversation going.

10 replies

BKBK
Community Expert
Community Expert
Oct 5, 2024 1:15 PM UTC

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:

  • C:\ColdFusion2023\cfusion\wwwroot\cf_scripts\scripts\ajax\ext\source\widgets\Container.js
  • C:\ColdFusion2023\cfusion\wwwroot\CFIDE\administrator\scripts\util.js

 

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.

Translate
Charlie Arehart
Community Expert
Community Expert
Oct 4, 2024 11:15 PM UTC

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. 

Translate
/Charlie (troubleshooter, carehart. org)
Nancy OShea
Community Expert
Community Expert
Oct 4, 2024 11:00 PM UTC
Nancy O'Shea— Product User & Community Expert
Charlie Arehart
Community Expert
Community Expert
Oct 4, 2024 11:21 PM UTC

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

Translate
/Charlie (troubleshooter, carehart. org)
Nancy OShea
Community Expert
Community Expert
Oct 4, 2024 10:56 PM UTC

[Moderator moved from Creative Cloud to Cold Fusion.]

 

Translate
Nancy O'Shea— Product User & Community Expert
Participant
Oct 3, 2024 12:43 PM UTC

This is releated abobe experience manager (AEM)

Translate
kglad
Community Expert
Community Expert
Oct 3, 2024 12:51 PM UTC

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/

 

forums - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/bd-p/adobe-experience-manager-discussions

Translate
Participant
Oct 3, 2024 12:59 PM UTC

Thank you

Translate
kglad
Community Expert
Community Expert
Oct 3, 2024 12:40 PM UTC

is this related to an acrobat?  reader?  something else?

Translate