Overlaying dam gui | Community
Skip to main content
Level 3
Apr 2, 2019 1:34 AM UTC
Solved

Overlaying dam gui

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.
Hemant_arora
Hemant_aroraAccepted solution
Level 8
Apr 2, 2019 5:37 AM UTC

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

hptaroraAuthor
Level 3
Apr 2, 2019 10:59 PM UTC

Thanks Hemant, it worked.

Translate
hptaroraAuthor
Level 3
Apr 2, 2019 5:51 AM UTC

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

Thanks

Translate
Hemant_arora
Level 8
Apr 2, 2019 5:47 AM UTC

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?

Translate
hptaroraAuthor
Level 3
Apr 2, 2019 5:42 AM UTC

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

Translate
Hemant_arora
Hemant_aroraAccepted solution
Level 8
Apr 2, 2019 5:37 AM UTC

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

Translate