Overlaying dam gui

harpreeta713668 01-04-2019

Hi there,

I am overlaying /libs/dam/gui/coral/components/admin/contentrenderer/card/asset/asset.jsp

when I overlay in crxde /apps it works fine and shows me desired results but instead of overlaying in crxde I want to do in the code and when keep the same thing in my code it does not work. Not sure what I am doing wrong.

Any help on this?

Thanks

Harpreet

Accepted Solutions (1)

Accepted Solutions (1)

Hemant_arora 01-04-2019

Hope your overlayed file is getting deployed when you are building it. Do you see the changes in file after build ?

if not then you will be required to update the filter.xml by adding the /apps/dam/gui... path.

/apps/src/main/content\META-INF\vault\filter.xml

Add this entry  <filter root="/apps/dam/gui" mode="merge" />

Answers (4)

Answers (4)

Hemant_arora 01-04-2019

When we overlay /libs/dam/gui/coral/components/admin/contentrenderer/card/asset/asset.jsp

it means you are creating the same folder structure under /apps

/apps/dam/gui/coral/components/admin/contentrenderer/card/asset/asset.jsp

so whatever changes you are making to asset.jsp should reflect after you update the file in eclipse or any other IDE and deploy the code

so you need to create the same structure in your project codebase and update the filter.xml

have u created a project using maven archetype?