Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
I have customized the SiteAdmin.Actions.js by make a JS in /apps/cq/ui/widgets/source/widgets/wcm/SiteAdmin.Actions.js structure and it is working fine.
Now i want to include my JS file "StagingAssetSearchDialog.js" in the same structure under /apps/cq/ui/widgets/source/widgets/wcm . For that I have made a file "StagingAssetSearchDialog.js" under /apps/cq/ui/widgets/source/widgets/wcm/ and make the entry in /apps/cq/ui/widgets/js.txt by writing "widgets/wcm/StagingAssetSearchDialog.js" .I am giving a call to this file by saying new CQ.wcm.StagingAssetSearchDialog(data); but it is not working.
This file is working when I directly include it under /libs/cq/ui/widgets/source/widgets/wcm/.