How to apply different template policies to different AEM pages all using same template. | Community
Skip to main content
namitkochar
Level 2
December 3, 2019
Solved

How to apply different template policies to different AEM pages all using same template.

  • December 3, 2019
  • 1 reply
  • 764 views

I have about 100 versions of each components, I want to allow only one version components in one page and other version components in other page. All pages uses same template. How to achieve this. I don't want to create 100 templates for this, is there any other optimal solution for this ?

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 arunpatidar

Hi,

Policies are based on templates. if you have a component and you created a policy for that. that policy will be applicable throughout the template.

 

can you please explain your requirement so that the community suggests the appropriate solution?

1 reply

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
December 22, 2019

Hi,

Policies are based on templates. if you have a component and you created a policy for that. that policy will be applicable throughout the template.

 

can you please explain your requirement so that the community suggests the appropriate solution?

Arun Patidar