Mukesh Kumar
Mukesh Kumar

Reputation: 177

AEM 6.2 create common content to reuse on multiple pages

I am new to AEM and know that AEM is based on pages. I am wondering if there is any functionality available using which an Author can create a common content snippet once and reuse on multiple pages. Please suggest.

Upvotes: 0

Views: 358

Answers (2)

Imran Saeed
Imran Saeed

Reputation: 3444

This depends on the scope of reuse, you have option of:

  • Content fragments (as mentioned above) which is available from 6.2+
  • Sling content reference which has always been there.
  • iParsys, normally used for common content like header, footer, log etc.
  • Authorable templates can be a crude implementation for content sharing depending on requirement. For example, log can be part of template.

Experience Fragments are much better due to cache management in 6.3.

It all depends on use case but there are several answers and approaches so you will need to pick the best fit for your project.

Upvotes: 1

rakhi4110
rakhi4110

Reputation: 9281

If the common content is just text, then you can use the Content Fragments feature available in AEM 6.2.

If it is content with design and layout, then you have Experience Fragments. However, Experience Fragments are available only from AEM 6.3.

Upvotes: 1

Related Questions