コミュニティアチーブメントバーを展開する。

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

この会話は、活動がないためロックされています。新しい投稿を作成してください。

解決済み

JCR content structure - cq:Page with cq:Page child

Avatar

Level 2

Good day,

I've come across a rather "odd" structure in the content tree of my current project. One of the pages under /content has another page in it's jcr:content node. This child page has it's own jcr:content node. So it looks like this:

/content/myPage (jcr:primaryType: cq:Page)

/content/myPage/parsys (jcr:primaryType: nt:unstructured, sling:resourceType: foundation/component/parsys)

/content/myPage/parsys/jcr:content (jcr:primaryType: nt:unstructured)

/content/myPage/parsys/jcr:content/mySubPage (jcr:primaryType: cq:Page)

/content/myPage/parsys/jcr:content/mySubPage/jcr:content (jcr:primaryType: nt:unstructured)

/content/myPage/parsys/jcr:content/mySubPage/jcr:content/parsys (jcr:primaryType: nt:unstructured, sling:resourceType: foundation/component/parsys)

The whole page is rendered properly (both in the author and publisher environments), with the content of the mySubPage node showing at the right place on the myPage.

I've never seen this kind of structure, so I have some concerns. Is there any objection to having this kind of content structure?

Thanks!

1 受け入れられたソリューション

Avatar

正解者
Employee Advisor

Hi,

I would fix this content structure. Even if it doesn't break anything, you might run into problems at a later point. When you found out this now, you should put it on your list.

Jörg

元の投稿で解決策を見る

3 返信

Avatar

Level 10

How did you create the pages? 

Avatar

Level 2

The myPage page was created using the author environment.

The mySubPage content on myPage is the result of adding a custom component from the sidekick to the myPage parsys, also using the author environment.

Avatar

正解者
Employee Advisor

Hi,

I would fix this content structure. Even if it doesn't break anything, you might run into problems at a later point. When you found out this now, you should put it on your list.

Jörg