Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Trouble extending a component

Avatar

Level 2

I'm trying to extend a component, but my new marquee.html updates aren't rendering on the page. The dialog updates are okay. Here's what I have:

Parent component

marquee
> _cq_dialog
> clientlibs
_cq_editConfig.xml
.content.xml
marquee.html

Child component

marquee2
> _cq_dialog (All these updates are working.)
.content.xml 
marquee.html (None of these updates are working.)

Shouldn't any changes in the child component's marquee.html file override the parent file? I've been researching to see if I missed a step and everything seems to be in order, but apparently I'm missing something. Thanks for any help.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @kayest ,

In your child component rename html file from marquee.html to marquee2.html. (As your component node name is marquee2) For more details please refer Sling Resource Resolution article. eg. https://aemgeeks.wordpress.com/2017/07/31/sling-resource-resolution-sling-request-processing/

Hope that helps you!

Regards,

Santosh

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @kayest ,

In your child component rename html file from marquee.html to marquee2.html. (As your component node name is marquee2) For more details please refer Sling Resource Resolution article. eg. https://aemgeeks.wordpress.com/2017/07/31/sling-resource-resolution-sling-request-processing/

Hope that helps you!

Regards,

Santosh