Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

cq:pagecontent

Avatar

Level 9

Hi All,

Are cq:page and cq:Pagecontent the same?

If not, can you please provide some explanation on this.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

Both are different 

cq:page is a nodetype of a page (root node of a page). 

cq:pagecontent is a nodetype of the node jcr:content of a template where all the content/properties of a template is stored

4 Replies

Avatar

Correct answer by
Community Advisor

Hi,

Both are different 

cq:page is a nodetype of a page (root node of a page). 

cq:pagecontent is a nodetype of the node jcr:content of a template where all the content/properties of a template is stored

Avatar

Community Advisor
  • cq:page is the primary node type which holds the cq:pagecontent node under it.
  • cq:pagecontent node is the one that actually defines the content for the page in terms of component nodes along with the characteristics of the page.

Refer to following link - http://docs.adobe.com/docs/en/cq/5-6-1/developing/templates.html#The%20content%20produced%20by%20a%2...

- Runal

Avatar

Level 9

Hi Runal/bsloki,

Thanks a lot for your reply.