Skip to main content
Participant
October 3, 2024
Question

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

  • October 3, 2024
  • 6 replies
  • 556 views

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 has been closed for replies.

6 replies

BKBK
Community Expert
Community Expert
October 5, 2024

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.

Charlie Arehart
Community Expert
Community Expert
October 4, 2024

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. 

/Charlie (troubleshooter, carehart. org)
Nancy OShea
Community Expert
Community Expert
October 4, 2024
Nancy O'Shea— Product User & Community Expert
Charlie Arehart
Community Expert
Community Expert
October 4, 2024

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

/Charlie (troubleshooter, carehart. org)
Nancy OShea
Community Expert
Community Expert
October 4, 2024

[Moderator moved from Creative Cloud to Cold Fusion.]

 

Nancy O'Shea— Product User & Community Expert
Participant
October 3, 2024

This is releated abobe experience manager (AEM)

kglad
Community Expert
Community Expert
October 3, 2024

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

Participant
October 3, 2024

Thank you

kglad
Community Expert
Community Expert
October 3, 2024

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