Restrict component editing

Avatar

Avatar

viki1101

Avatar

viki1101

viki1101

03-09-2020

Hello Community - I have a requirement to restrict in editing the components which is part of the experience fragment authored on the page.

Here is the use case.

1. I create a experience fragment and author 2-3 components in the xf page.

2. I author the experience fragment on the new page using XF component. Currently the components inside the experience fragment is editable on the page. Is there any way to restrict the components to be edited. The components should only be allowed to edit only in the experience fragment page and not on the authored page.

 

View Entire Topic

Avatar

Avatar

ChitraMadan

MVP

Avatar

ChitraMadan

MVP

ChitraMadan
MVP

03-09-2020

Hi @viki1101 ,

 

May be you can create a separate component group for the components required to build experience fragments and then define that component group in the template policy for the experience fragment template.

 

Please refer to the article below:

https://medium.com/adobe-experience-manager/shared-content-on-aem-694df26e0b57