Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

how to load unminified version of cq.authoring.dialog in AEM 6.5.5

ankura42614959
Level 1
Level 1

Currently the  cq.authoring.dialog library which is all.js is coming minified, even though minify is off in following

 

ankura42614959_0-1621580967433.png

and it looks like below in pretty print

ankura42614959_1-1621581017139.png

 

we want to debug issue of AEM author dialogs.

Thanks

1 Accepted Solution
Asutosh_Jena_
Correct answer by
Community Advisor
Community Advisor

Hi @ankura42614959 

 

Navigate to "/libs/cq/gui/components/authoring/dialog/clientlibs/all" on your local instance and remove "jsProcessor" property from the node.

Now access http://localhost:4502/libs/cq/gui/components/authoring/dialog/clientlibs/all.js which will show the unminified file.

 

asutosh_jena_0-1621588798756.png

 

After debugging, make sure to revert it back to the original state as it's the OOTB functionality.

 

Hope this helps!

Thanks

 

View solution in original post

3 Replies
Asutosh_Jena_
Correct answer by
Community Advisor
Community Advisor

Hi @ankura42614959 

 

Navigate to "/libs/cq/gui/components/authoring/dialog/clientlibs/all" on your local instance and remove "jsProcessor" property from the node.

Now access http://localhost:4502/libs/cq/gui/components/authoring/dialog/clientlibs/all.js which will show the unminified file.

 

asutosh_jena_0-1621588798756.png

 

After debugging, make sure to revert it back to the original state as it's the OOTB functionality.

 

Hope this helps!

Thanks

 

View solution in original post

ankura42614959
Level 1
Level 1
Thanks, how can we overlay this, so we dont need to change the OOB code, ?
Asutosh_Jena_
Community Advisor
Community Advisor

You can overlay "/libs/cq/gui/components/authoring/dialog/clientlibs/all" with "/apps/cq/gui/components/authoring/dialog/clientlibs/all" and remove the property as required.

But why do you want to overlay when you need this only for debugging purpose. If it's not permanent change do not overlay.