Search code examples
aemaem-6

How to use the reference component in AEM Template


am having a requirement to use a common content in all the pages. So I decided to use the reference component in AEM. I have created a new page and authored the content. How can this content can be used in the templates, so that it will appear in all pages without re-authoring.


Solution

  • As you are using AEM 6 version, you can utilize the concept of design dialogs in components in static templates. You create a component, add design dialog and choose the fields in the design dialog, which once is authored will reflect in all pages created with that template.

    The only activity you have to do while authoring is, you need to add and author the component in a page created with specific template.