Policies in Editable Templates AEM 6.5/Cloud | Community
Skip to main content
shikhasoni1
Level 3
Oct 7, 2022 6:32 AM UTC
Solved

Policies in Editable Templates AEM 6.5/Cloud

How can we migrate template/component level policies from one environment to other.

Is there any particular way as compared to migrating other .xml files or is it same?

 

Any lead is highly appreciated.

PS : Many interviewers are asking this question these days.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
TarunKumar
TarunKumarAccepted solution
New Participant
Oct 7, 2022 10:39 AM UTC

HI @shikhasoni1 

If we can make component and template level policy as a part of code base, we could deploy it through that. 
Any specific situation where you are not able able to do so?

2 replies

B_Sravan
New Participant
Oct 8, 2022 11:08 AM UTC

all the policies are stored under your /conf/<project-name>/settings/wcm/policies, make sure you have this filter while moving the content or have it as a part of your code build.

Translate
TarunKumar
TarunKumarAccepted solution
New Participant
Oct 7, 2022 10:39 AM UTC

HI @shikhasoni1 

If we can make component and template level policy as a part of code base, we could deploy it through that. 
Any specific situation where you are not able able to do so?

Translate