How to create custom page component for AEM page.
Solved! Go to Solution.
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
Hi @akshaybhujbale ,
Please check this article. http://www.sgaemsolutions.com/2019/02/how-to-make-page-component-and-template.html#:~:text=Go%20to%2....
Hope it helps!
Thanks
Shivam
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
If you new to AEM development , please refer and try https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-devel... . This is a good starting point to learn AEM development.
There are a lot of videos that will help you with this . Please find below some
https://www.youtube.com/watch?v=G_9m9Qo45RE
Thanks
Veena ✌
Views
Likes
Replies
Views
Likes
Replies