Expand my Community achievements bar.

SOLVED

Can we overlay the file to our custom path

Avatar

Level 2

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

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.



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

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.



Arun Patidar