Expand my Community achievements bar.

SOLVED

Page properties not getting fetched

Avatar

Former Community Member

Hello,

The default page properties are not getting fetched for any of my pages.

Is there any code I am missing in my template?I added all the files under /libs/wcm/foundation/components/page for my template.

Please help.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Its recommended to override default page component, if you are not ware of this please see  this basic and helpful article which will guide you to follow a recommended approach refer @ https://docs.adobe.com/docs/en/cq/5-6-1/howto/website.html

View solution in original post

5 Replies

Avatar

Level 10

What procedure are you performing to create the pages? 

See this AEM doc topic for information on creating a page. Once you create a page, its props are set: 

https://docs.adobe.com/docs/en/aem/6-0/author/page-authoring/first-steps.html#Creating a New Page

Avatar

Correct answer by
Level 10

Its recommended to override default page component, if you are not ware of this please see  this basic and helpful article which will guide you to follow a recommended approach refer @ https://docs.adobe.com/docs/en/cq/5-6-1/howto/website.html

Avatar

Former Community Member

Hello,

Thanks for all the help.Included page.jsp to my head.html which has the redirect rules.That worked fine :)

Avatar

Former Community Member

I have a custom page template for which the resource supertype is the foundation/components/page/page which basically has all the required files.I guess I am missing some code on my template due to which its not referring those properties.Not sure on what exactly I am missing.

Avatar

Level 10

Hi Sonali,

Are you directly giving resourceType as foundation/../page for the template or resourceType for the page component which is referred by the template ?