Highlighted

How to add new page template to Eclipse AEM 6.3 project

Avatar

Avatar

RobertBailey201

Avatar

RobertBailey201

RobertBailey201

09-05-2018

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.

Replies

Highlighted

Avatar

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831

Avatar

Arun_Patidar

MVP

Total Posts

2.9K

Likes

1.0K

Correct Answer

831
Arun_Patidar
MVP

09-05-2018

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

Highlighted

Avatar

Avatar

robertb51495880

Avatar

robertb51495880

robertb51495880

17-04-2019

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.