Overlaying dam gui | Community
Skip to main content
April 2, 2019
Solved

Overlaying dam gui

  • April 2, 2019
  • 5 replies
  • 5007 views

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

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 Hemant_arora

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" />

5 replies

Hemant_arora
Hemant_aroraAccepted solution
April 2, 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" />

hptaroraAuthor
April 2, 2019

I am not sure ..What changes I should look for and in which file after build ?

Hemant_arora
April 2, 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?

hptaroraAuthor
April 2, 2019

I am not sure abt maven archtype..but I will try updating filter.xml and will get back.

Thanks

hptaroraAuthor
April 2, 2019

Thanks Hemant, it worked.