Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

How to add new page template to Eclipse AEM 6.3 project

Avatar

Level 4

Hi All,

How do I add a new page template to an Eclipse AEM 6.3 project ?

Are there step-by-step instructions explaining how to add a new page template to an Eclipse AEM 6.3 project ?

I created the Eclipse AEM 6.3 project using Creating an Adobe Experience Manager 6.3 Project using Adobe Maven Archetype 12

In Eclipse I can see the following folders amongst other folders :-

project.core

project.it.launcher

project.it.tests

project.ui.apps

src/main/content/jcr_root

apps.project.components.structure.page

apps.project.templates

project.ui.content

src/main/content/jcr_root

conf

project

settings

wcm

Thank you for your time.

2 Replies

Avatar

Community Advisor

Hi,

If you want to create template from template type.

use below link in AEM http://localhost:4502/libs/wcm/core/content/sites/templates.html/conf

If want to create new template type, see example of we.retail at http://localhost:4502/crx/de/index.jsp#/conf/we-retail/settings

For more details refere this blog AEM Developer Learning : Dynamic (Editable) Templates in AEM 6.3 : Part-1



Arun Patidar

Avatar

Level 1

You need to create the template through either the templates page as mentioned by Arun, or within CRXDE.

Once the template is created, you can import the code from AEM using this method: How to sync content, components and templates...etc files from CRXDE to Eclipse IDE Projects and vic...

I was able to perform these steps successfully with archetype 13.