Expand my Community achievements bar.

SOLVED

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

Avatar

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

Avatar

Correct answer by
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

Avatar

Correct answer by
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

 

Avatar

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

Avatar

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.