Answer AD0-E103 Adobe Experience Manager Sites Developer Certification

Avatar

Avatar

mauriziop158592

Avatar

mauriziop158592

mauriziop158592

19-11-2020

Hi guys,

I'm trying some dumps for practice in testing, I could bring the following question to your attention?

 

q1.png

From my experience I would have answered B, if I read the below documentation I understand that:

 

1)Customizing the Logic of a Core Component -> we need to use Sling delegation pattern, resourceSuperType: Answer B

2)Customizing the Markup-> we need to copy the HTL files that need to be modified from the Core Component into the proxy component:Answer D

 

https://experienceleague.adobe.com/docs/experience-manager-core-components/using/developing/customiz...

but for certification purposes what will be the correct answer?

 

thanks in advance for your attention.

Regards,

Maurizio

 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

TUmesh

Avatar

TUmesh

TUmesh

19-11-2020

When we were using foundation component then we used to overlay the component from libs to apps with that approach we used to copy the component from libs to /apps but

with the core component we used to create the proxy in our application folder inside apps and refer the proxy with slingResourceSuperType to the respective core component.

So as question is specific to Core component only so Answer should be B not D.

As per me option D is applicable to only foundation component.

 

Hope this will help.

Umesh Thakur

Answers (2)

Answers (2)

Avatar

Avatar

BrianKasingli

MVP

Avatar

BrianKasingli

MVP

BrianKasingli
MVP

20-11-2020

@mauriziop158592,
I would also agree that the answer is B.

To extend the AEM core components, you should create a new proxy component in /apps/my-site, and then use sling:resourceSuperType as the base, and overlay (extend) as required.

Avatar

Avatar

Anudeep_Garnepudi

Avatar

Anudeep_Garnepudi

Anudeep_Garnepudi

19-11-2020

Hi @mauriziop158592 

To be very simple, inheritance is only possible with sling:resourceSuperType it doesn't matter if it is core or custom component.

To answer your question, only option B is extending/inheriting a component rest others are not.

AG