Expand my Community achievements bar.

SOLVED

understanding initial content vs structure - editable templates in aem

Avatar

Level 7

Hi,

I read the documentation and looked at some sample project code to understand Editable templates concepts.

I would like to get more practical use case scenario to understand the difference between initial content vs structure and when authors will be using initial content, structure.

Thanks,

Sri

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi,

  • initial: Initial Content mode is used to define content that will appear when a page is first created based on the template.The initial content can then be edited and removed by page authors. e.g. dummy content

  • structure:

The structure allows you to define the structure of the template.

The components defined in the template level can’t be removed from the resulting page.

If you want that template authors can add and remove components, add a paragraph system to the template.

Components can be locked and unlocked to allow you to define initial content.



Arun Patidar

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

Hi,

  • initial: Initial Content mode is used to define content that will appear when a page is first created based on the template.The initial content can then be edited and removed by page authors. e.g. dummy content

  • structure:

The structure allows you to define the structure of the template.

The components defined in the template level can’t be removed from the resulting page.

If you want that template authors can add and remove components, add a paragraph system to the template.

Components can be locked and unlocked to allow you to define initial content.



Arun Patidar