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

Static components on static templates?

PSDuckie
Level 1
Level 1

I'm trying to make a static template with three components in AEM 6.2, two of which should each be the same for every page made using the template, but editable for the template as a whole.  I'm looking for something similar to static variables in Java, but with components.  Is such a thing possible with static templates?  If so, how would I do it?  Thanks!

1 Accepted Solution
PSDuckie
Correct answer by
Level 1
Level 1

What i ended up doing was using an iparsys in the page and creating child pages.

View solution in original post

2 Replies
Arun_Patidar
Community Advisor
Community Advisor

You can use editable templates to achieve this, where you can define structure as above and initial for 2 components.

OR for static templates the design_dialog holds the value at template level, you can use design_dialog instead of dialog.

Thanks

Arun

PSDuckie
Correct answer by
Level 1
Level 1

What i ended up doing was using an iparsys in the page and creating child pages.

View solution in original post