Static components on static templates? | Community
Skip to main content
May 14, 2018
Solved

Static components on static templates?

  • May 14, 2018
  • 2 replies
  • 1115 views

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!

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 PSDuckie

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

2 replies

arunpatidar
Community Advisor
Community Advisor
May 14, 2018

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

Arun Patidar
PSDuckieAuthorAccepted solution
May 14, 2018

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