Restrict component editing | Community
Skip to main content
Level 5
Sep 3, 2020 7:16 PM UTC
Solved

Restrict component editing

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.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Singaiah_Chintalapudi
Singaiah_ChintalapudiAccepted solution
Level 7
Sep 3, 2020 11:23 PM UTC

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

6 replies

Singaiah_Chintalapudi
Singaiah_ChintalapudiAccepted solution
Level 7
Sep 3, 2020 11:23 PM UTC

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

Translate
airnavin30
Level 2
Apr 16, 2021 8:15 PM UTC
Hi Singaiah_Chintalapudi , In one of usecase when author is editing XF and publishing that XF,
Translate
ChitraMadan
New Participant
Sep 3, 2020 9:15 PM UTC

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

Translate
v1101Author
Level 5
Sep 3, 2020 10:48 PM UTC
@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.
Translate