Scenario: In an AEM project, you have a parent component with a resource type "myapp/components/content/base." You want to create a child component that inherits from the parent but has a different resource type. What property should you modify in the child component's node?

  • componentGroup
  • cq:componentInheritance
  • jcr:primaryType
  • sling:resourceType
In the child component's node, you should modify the sling:resourceType property to specify the new resource type, which will override the parent component's resource type.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *