Different policies for single Editable template | Community
Skip to main content
veerareddyc1015
Level 3
July 2, 2025
Solved

Different policies for single Editable template

  • July 2, 2025
  • 2 replies
  • 319 views

Hi Team,

 

Could you please guide me on this? I want to apply different policies for a single editable template. I’ve created pages under two separate projects using the same template, but I want to allow only specific components in /content/myproject1 and different components in /content/myproject2, each governed by separate policies.

 

Thanks in Advance,

Veera

Best answer by arunpatidar

Hi @veerareddyc1015 

You can apply only one policy to one component within a structure.

To restrict the components, you may need another template.

2 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
July 2, 2025

Hi @veerareddyc1015 

You can apply only one policy to one component within a structure.

To restrict the components, you may need another template.

Arun Patidar
Nilesh_Mali
Level 3
July 4, 2025

Use Separate template types (still pointing to the same editable template)

In AEMaaCS, policies are scoped under the template-type, so if both your projects use the same template-type (e.g., base-page), but different content paths, you can set different policies.

Ensure your projects have unique configurations like this:

/conf/myproject1/settings/wcm/policies /conf/myproject2/settings/wcm/policies

Each contains policies applied to same template structure but scoped per path.