0

I'm using AEM,and meet a problem.

Firsly follow these steps

Secondly the page is below: I create the page based on the Summit Toys Base Content Page template.

step1

but click next button ,the page shows like below:

step2

why and how to solve this issue.

Thanks advance!

DevinYan
  • 9
  • 1
  • 2

5 Answers5

2

This should be your problem. From your reference application, You have created a template under:

--apps
  -- summit_toys
     -- templates

and then the corresponding page rendering component under

  --apps
    -- summit_toys
      --components
        --structure

I am 90% sure, your page rendering component /apps/summit_toys/components/structure/contentpage is missing property sling:resourceSuperType = wcm/foundation/components/page. This brings the page properties dialog on the create page wizard. Check for spelling and case sensitive to exactly match above.

Other possibilities:

  1. Make sure template sling:resourceType points to relative path of page rendering component (like summit_toys/components/structure/contentpage)
  2. Check for typo, spelling errors. JCR standard prefers to keep all nodes in lower case (for good reason). Make sure your nodes are lower case; hyphenated if required.

Issue should get resolved with sling:resourceSuperType = wcm/foundation/components/page. If still fails, you might need to share /apps package to check further.

Saravana Prakash
  • 1,321
  • 13
  • 25
0

which version of aem you are using. if it is 6.3, after creating your page, check if your page is there or not under content node in CRX If it is there the check resource type is correctly mapped accordingly or not.

Hope this helps

Kumar Sonu
  • 11
  • 3
0

I faced the same issue and is resolved check this image

issue is related to value of cq:allowedTemplate for /content/wetrain/jcr:content

  • 1
    Thanks for your contribution! Please do not use links to pictures, but describe the solution in words. – mzuther Jan 29 '20 at 16:30
0

This issue can occur if you have not created dialog(cq:dialog) for your page component. Either you can create cq:dialog/ or extend out of the box page component using property sling:resourceSuperType as mentioned by Dhiraj Khursade.

0

If you are using editable templates, check for sling:resourceType property under /conf/<project>/settings/wcm/templates/<template-name>/structure/jcr:content and /conf/<project>/settings/wcm/templates/<template-name>/initial/jcr:content both should point to correct page component <project>/components/structure/<page-component>

Also make sure that, page component has correct value for sling:resourceSuperType with valid page component from core components or wcm core component. Try creating fresh new page and validate instead of trying on existing page.