Can we overlay the file to our custom path



Can we overlay the file to our custom path or we have to overlay the file to exact folder structure location as in libs, for example i want to overlay the constants.js(/libs/cq/ui/widgets/source/constants.js) file, in this adobe recommended Copy this file to /apps/cq/ui/widgets/source/constants.js for overlaying, but in my project that folder structure is not there, so i have copied to the custom path in apps folder and tested the changes and overlaying is working fine.

Accepted Solutions (1)

Accepted Solutions (1)





You need to overlay in apps in the exact structure. If structure is not available, then you can create or it will be created automatically when you select the option in overlay screen.

For it may be working for you because you are overlaying clientlibs, which can create anywhere, it gets pick category wise.

I would suggest you to try to overlay some nodes, it would not be working.

Note : For overlay always copy from libs to apps at the same folder structure.

Answers (0)