Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events

Editable Templates Issue in AEM 6.5.7

Avatar

Level 3

In Editable Templates , unlocking and adding the components to allowed components , after that locking back the templates load the actual page  content in template and resetting it back to initial content.

Can anyone  faced similar issue before ?

 

Thanks,

Poovithaa S

2 Replies

Avatar

Community Advisor

Hi @PoovithaSelvaraj ,

As per editable template policy, once a component that already contains content is unlocked, this content will be moved to the initial branch and the editable property is set to true.
Initial content is something which will be shown on a page upon a page creation. So you should unlock the component to make it reflect on the page.

The complete article is nicely written here:

https://experienceleague.adobe.com/docs/experience-manager-65/developing/platform/templates/page-tem...

http://www.sgaemsolutions.com/2017/09/dynamic-editable-templates-in-aem-63.html

http://www.sgaemsolutions.com/2017/09/dynamic-editable-templates-in-aem63.html

 

Hope that helps!

Regards,
Santosh