Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Restrict component editing

Avatar

Level 5

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.

 

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

6 Replies

Avatar

Community Advisor

Hi @v1101 ,

 

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

Avatar

Level 5
@ChitraMadan - Not sure if i have explained the problem statement correctly. We just wanted to restrict in editing the components authored as part of experience fragment.

Avatar

Community Advisor
Hi @v1101, In that case, editing can be handled via permissions.

Avatar

Level 2
Hi Singaiah_Chintalapudi , @ChitraMadan In one of usecase when author is editing XF and publishing that changes of XF, Then suppose the same XF is authored on 4-5 pages then the changed content is not reflecting on all pages whereever we have added that XF, So if there are 50 pages having that XF then all 50 pages has to again publish for that updated XF changes , Is there a way to handle such scenario?

Avatar

Correct answer by
Community Advisor

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

Hi Singaiah_Chintalapudi , In one of usecase when author is editing XF and publishing that XF,