AD0-E123 practice question 5 of 10

A developer wants to customize a core component. Which property needs to be set in the new component to achieve this goal?

Full set: 50 questions
Answer options
A: sling:resourceType
B: jcrlitle
C: slingresourceSuperType Correct answer
Correct Answer:
C. slingresourceSuperType
Explanation

When customizing a core component in AEM, setting the sling:resourceSuperType property in the new component's definition allows it to inherit features from an existing core component. This property points to the resource type of the core component that is being extended or customized. By doing so, the new component inherits the core component's logic and rendering scripts but can be customized further according to project-specific requirements.
Option A, sling:resourceType, is used to define the primary resource type for a component and does not indicate inheritance.
Option B, jcr:title, is used to give a human-readable title to a node in the JCR and is unrelated to component inheritance.

Scroll to Top