Restrict component editing

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.

 

Accepted Solutions (1)

Accepted Solutions (1)

Singaiah_Chintalapudi

MVP

03-09-2020

When you click on EDIT, it takes authors back to the original experience fragment. It won't allow the authors to edit the Experience Fragment content within a page.

 

If you don't want the authors to have the editing capabilities, handle them through permissions.

 

Thanks,

Singaiah

Answers (1)

Answers (1)

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