Expand my Community achievements bar.

SOLVED

Locked & Unlocked Components

Avatar

Level 2

Hi All,

I have an issue with my editable template with locked/unlocked components.

 

case 1 :- In an editable template, i have authored a locked component and added some text in its policy.

Intially component - locked, parsys also will be locked. Now i have created a page in which the text is not reflecting at all.

 

case 2 :- In an editable template, this time i have added two components. one is locked , second one is unlocked & parsys will be in locked state . I have authored the policy for the components with some text. Now if i create a page then the 2 components are reflecting fine.

 

so, the question here,

 Is it mandatory to have atleast one unlocked component in the parsys along with locked comp. in order to reflect on the page??

 

Thanks in advance

 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @sai_santhosht50 

 

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 this helps!

Thanks!

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi @sai_santhosht50 

 

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 this helps!

Thanks!