Thursday, 15 February 2024

Template in AEM

What is Template?
  • Template is blue print/layout of create page with no content.
  • It is used to create page.
  • Template associated with a page rendering component.
How to create Template?

Step1:- 
  • Go to Tools
  • Select Templates


  • After clicking on the template, you'll find your project within the template.

  • After clicking on the project, you'll find your template.


  • For creating the template, select the "Create" button to proceed.

  • Here, you'll first choose the Template type.
  • such as Page template, from the available options.
Note:-It's important to select a Template type before proceeding, as you cannot create a Template without specifying the type.
  • After click Next button.
  • Give the Template title Name(For eg:- Template Demo)

  • After clicking on the "Create" button, our template is ready.




What is Parser?

  • It is a paragraph system to drag and drop component specific to your page.
folder structure of template

/conf/mysite/settings/wcm/templates/template-demo









What is Policy in Template?


  • When we click on Policy Icon 



No comments:

Post a Comment

Servlet in AEM/Sling Servlet

  What is Servlet? A servlet is a Java class that runs on the server side where the application resides. It acts as a middle layer between t...