• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

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

New Here ,
Oct 03, 2024 Oct 03, 2024

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?

Views

261

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2024 Oct 03, 2024

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 03, 2024 Oct 03, 2024

Copy link to clipboard

Copied

This is releated abobe experience manager (AEM)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2024 Oct 03, 2024

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/

 

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 03, 2024 Oct 03, 2024

Copy link to clipboard

Copied

Thank you

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 03, 2024 Oct 03, 2024

Copy link to clipboard

Copied

you're welcome.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 04, 2024 Oct 04, 2024

Copy link to clipboard

Copied

[Moderator moved from Creative Cloud to Cold Fusion.]

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 04, 2024 Oct 04, 2024

Copy link to clipboard

Copied

JavaScript functions in ColdFusion

https://helpx.adobe.com/coldfusion/cfml-reference/ajax-javascript-functions/javascriptfunctionsincol...

 

Hope that helps.

 

Nancy O'Shea— Product User, Community Expert & Moderator

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 04, 2024 Oct 04, 2024

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


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 04, 2024 Oct 04, 2024

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. 


/Charlie (troubleshooter, carehart.org)

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 05, 2024 Oct 05, 2024

Copy link to clipboard

Copied

LATEST

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation