Skip to main content
Oct 16, 2015 2:29 AM UTC
Solved

Page properties not getting fetched

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
edubey
edubeyAccepted solution
Level 10
Oct 16, 2015 2:29 AM UTC

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

5 replies

Lokesh_Shivalingaiah
Level 10
Oct 16, 2015 2:29 AM UTC

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 ?

Translate
Oct 16, 2015 2:29 AM UTC

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.

Translate
Oct 16, 2015 2:29 AM UTC

Hello,

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

Translate
edubey
edubeyAccepted solution
Level 10
Oct 16, 2015 2:29 AM UTC

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

Translate
smacdonald2008
Level 10
Oct 16, 2015 2:29 AM UTC

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

Translate