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

nydel09

10-04-2019

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.

Accepted Solutions (1)

Accepted Solutions (1)

Vish_dhaliwal

Employee

12-04-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

Answers (3)

Answers (3)

nydel09

12-04-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?

Prince_Shivhare

10-04-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

jbrar

Employee

10-04-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.