How to see where a page/component is inheriting from? | Community
Skip to main content
Level 2
April 10, 2019
Solved

How to see where a page/component is inheriting from?

  • April 10, 2019
  • 4 replies
  • 5391 views

If I have a page or component that is inheriting its settings from another page or component, how do I see which node it's inheriting from? A graph-like holistic view of all page inheritance would also be useful. Does a tool like that exist?

I'm in AEM 6.4.2.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vish.dhaliwal

Hello,

The parent livecopy should have a cq:LiveSyncConfig node, for example /content/we-retail/ca/en/jcr:content/cq:LiveSyncConfig. You can check the path of blueprint or source from the "cq:master" property.

Regards,

Vishu

4 replies

Adobe Employee
April 10, 2019

I don't believe there is a tool but you can check the following properties from crxde to check for inheritance.

sling:resourceSuperType: It is used to achieve inheritance in cq. When set, it inherits the specified component to this component.

sling:resourceType: It is a path, which locates the script to be used for rendering the content. Path used can be absolute or relative.

Prince_Shivhare
Community Advisor
Community Advisor
April 11, 2019


For a specific page, please go to /content and your page path.

1. click on jcr:content and find the sling:resourceType. check the path which is given in this property.

2. under the page component you will find the property "sling:resourceSuperType" which will tell you from where the page is inheriting from.

* if you don't have custom page component which is having all scripts, then probably it will inheriting from:

for Sightly: /libs/wcm/foundation/components/page

for JSP: /libs/foundation/components/page

for core components: /apps/core/wcm/components/page/v1/page

nydel09Author
Level 2
April 12, 2019

Hi,

I was actually referring to rollout inheritance, not the actual node type inheritance. So if I rollout a page from one path to a different path on the site, the entire page is copied under a different path in the JCR. If I'm looking at the rolled out page's nodes in CRX, are there any properties that tell me which page it's inheriting its content from?

vish.dhaliwalAdobe EmployeeAccepted solution
Adobe Employee
April 12, 2019

Hello,

The parent livecopy should have a cq:LiveSyncConfig node, for example /content/we-retail/ca/en/jcr:content/cq:LiveSyncConfig. You can check the path of blueprint or source from the "cq:master" property.

Regards,

Vishu