Converting static to editable templates - Page properties

sathya_prakasha

17-06-2020

Hi Team,

 

How to get initial page properties.

 

Page properties are saved under : /conf/project-name/settings/wcm/templates/template-name/initial/jcr:content

 

 

AEM 6.5

Accepted Solutions (1)

Accepted Solutions (1)

Arun_Patidar

MVP

17-06-2020

Initial Content is used to create default initial content when page is created and that is store at page level.The initial content can then be edited and removed by page authors.

 

No need to worry about initial content for static to dynamic template migration but define it for the new pages based on your requirement.

 

Initial page properties should be defined under : /conf/project-name/settings/wcm/templates/my-template/initial/jcr:content

Answers (1)

Answers (1)

vanegi

Employee

17-06-2020

The best route for designing editable template is to redesign the templates directly to be the editable template. You can check the document [1] as a reference for creating editable templates.

 

We recommend to create the page templates from scratch. This is the best route and what we suggest to go with to avoid downstream issues and unintended side-effects.

 

It is advised to upgrade the templates and the general process is:

 

The basic idea is that all the components that are declared inside the static template should become a component declared as a content structure under the "structure" child node of an editable template. All synthetic resources should also become an actual node of the "structure" aspect of the template or be relocated in the HTL template or JSP page of an instanced component.

 

 

[1]:- https://docs.adobe.com/content/help/en/experience-manager-65/developing/platform/templates/page-temp...