Solved
How to create page component in AEM 6.5
How to create custom page component for AEM page.
How to create custom page component for AEM page.
Hello @akshaybhujbale
sling:resourceSuperType="core/wcm/components/page/v3/page"
Customize your page properties if needed same as the other components.
Initial Section
- sling:resourceType="my-project/components/page"
Policies
- Same as other
Structure
- sling:resourceType="my-project/components/page"
In Template Config:
- cq:templateType="/conf/my-project/settings/wcm/template-types/base-page"
- allowedPaths="[/content/my-project(.*)?]"
Initial:
- cq:template="/conf/my-project/settings/wcm/templates/content-page"
- sling:resourceType="my-project/components/page"
Policies:
- No extra changes
Structure:
- cq:template="/conf/my-project/settings/wcm/templates/content-page"
- sling:resourceType="my-project/components/page"
You can also see this blog where the process is shown step by step: http://www.sgaemsolutions.com/2019/02/how-to-make-page-component-and-template.html
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.