Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

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

namitkochar
Level 2
Level 2

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 ?

1 Accepted Solution
Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

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?

View solution in original post

1 Reply
Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

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?

View solution in original post