Hi Mates,
I recently working with policies with different projects in a same AEM instance.
I just notice that I got an issue while trying to apply policies from a project to another.
conf/
project1/
settings/
wcm/
policies/ all component policies from project1
templates/ I want to use policies from project2
project2/
settings/
wcm/
policies/ Policies created by code
In this example I have policies created by code in project2 and I want to let Template editors to select policies created from another project because I do not have access to the other project but we want to share policies.
Is there a way to set global policies that are not restricted by projects and all templates can consume?
Regards.
Solved! Go to Solution.
Hi @mancillaign,
The policies are created to add the styles and configurations that are project specific. If you want to reuse them, try to commit them via code.
Hope this helps!
Thanks,
Kiran Vedantam.
Hi @mancillaign,
The policies are created to add the styles and configurations that are project specific. If you want to reuse them, try to commit them via code.
Hope this helps!
Thanks,
Kiran Vedantam.
/conf/global/settings/wcm/template-type or /apps/settings/wcm/template-type try these two places, when the Template type resolves, these two paths are below your project level in the sling hierarchy.