Can i delete policies found in the Layout Containers | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by vishakhav2

Hi @sakd ,

 

Documents you are referring to is not related to layout container policies. As @albinis1 mentioned, you can remove policies from crx (/conf/project-folder/settings/wcm/policies/wcm/foundation/components/responsivegrid)

or

make changes in the code( /conf/project-folder/settings/wcm/policies/wcm/foundation/policies/.content.xml) remove the policies which you don't require and deploy the package using default mode(replace mode to remove the existing content and modify the policies)

4 replies

Community Advisor
July 7, 2020

I dont think there is any option to delete the policies through UI but can be deleted through CRX/DE  e.g /conf/wknd/settings/wcm/policies/wcm/foundation/components/responsivegrid

Better option is to store the project specific conf folder (/conf/wknd) to repository(git) so that the policies can be added/removed whenever required.

 

Regards

Albin I

www.albinsblog.com

Vaibhavi_J
Level 7
July 7, 2020

Hi @sakd , 

Like @albinis1 mentioned you can do it via crx.

Also if you do not need policy to be applicable for page, you can change it ui in policy tab but we do not have option to delete from UI

vishakhav2Accepted solution
Level 2
July 7, 2020

Hi @sakd ,

 

Documents you are referring to is not related to layout container policies. As @albinis1 mentioned, you can remove policies from crx (/conf/project-folder/settings/wcm/policies/wcm/foundation/components/responsivegrid)

or

make changes in the code( /conf/project-folder/settings/wcm/policies/wcm/foundation/policies/.content.xml) remove the policies which you don't require and deploy the package using default mode(replace mode to remove the existing content and modify the policies)

arunpatidar
Community Advisor
Community Advisor
July 8, 2020

Are you referring to AEM Forms or AEM Site policies? For AEM Sites you can check the replies/comment but fopr AEM Form , you can move this thread to AEM Form community.

Arun Patidar