Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Custom EditBase.js

Avatar

Level 4

Dear Team,

I have a requirement, where I need to add config.disableTargeting = true; in EditBase.js.

So I copied EditBase.js from /libs/cq/ui/widgets/source/widgets/wcm/EditBase.js to my apps/customapp/clientlib/EditBaseFix.js folder.

But how can I call this EditBaseFix.js file in my all the custom components ?

Thanks

Sonu

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Just copy the custom file in this folder /apps/cq/ui/widgets/source/widgets/wcm/EditBase.js and it will be called automatically. 

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

Just copy the custom file in this folder /apps/cq/ui/widgets/source/widgets/wcm/EditBase.js and it will be called automatically. 

Avatar

Administrator

As mentioned by Kunal,

Copy the file to the folder "/apps/cq/ui/widgets/source/widgets/wcm/EditBase.js" and it will be called automatically. 



Kautuk Sahni