Can we overlay the file to our custom path | Community
Skip to main content
rajup64088879
Level 2
June 4, 2019
Solved

Can we overlay the file to our custom path

  • June 4, 2019
  • 1 reply
  • 1007 views

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by arunpatidar

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.

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
June 4, 2019

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