Experience Fragment Creation in a static template

Avatar

Avatar

Rajalakshmi

Avatar

Rajalakshmi

Rajalakshmi

06-11-2020

 Hi folks, can we able to create Experience Fragements using a static template and add that Xf to a page created using static template in AEM 6.5?

 

Thanks.

AEM 6.5 Experience Fragments

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Singaiah_Chintalapudi

MVP

Avatar

Singaiah_Chintalapudi

MVP

Singaiah_Chintalapudi
MVP

06-11-2020

Generally,  you need to have your own Experience Fragment (EF) template to create the Experience Fragments so you can see all of your styles and exact look & feel of your content. Therefore, EF is kind of editable template on the code side. So, it is recommended to use to with the editable templates. However, you can still use with the static templates and many people implement this with static templates.

 

Let me know if you have any questions.

 

Thanks,

Singaiah

Answers (1)

Answers (1)

Avatar

Avatar

santhosh_kumark

Avatar

santhosh_kumark

santhosh_kumark

06-11-2020

Hi @Rajalakshmi ,

 

No. For experience fragments, only editable templates can be used, static templates are not fully compatible. Editable templates, which in turn are defined by editable template types and an AEM page component implementation, define the allowed AEM components that can be used to compose an Experience Fragment. The experience fragment is an instance of an editable template that represents a logical experience. Experience fragment variations adhere to the editable template, but represent differences in experience (content and design).

References: Experience Fragments

                    Getting Started with AEM Sites - WKND Tutorial

 

Regards,

Santosh