Expand my Community achievements bar.

SOLVED

Policies in Editable Templates AEM 6.5/Cloud

Avatar

Level 4

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.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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?

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

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?

Avatar

Community Advisor

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.