Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
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

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