Expand my Community achievements bar.

Learn about Edge Delivery Services in upcoming GEM session
SOLVED

Experience Fragment Creation in a static template

Avatar

Level 3

 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.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

View solution in original post

4 Replies

Avatar

Community Advisor

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

Avatar

Correct answer by
Community Advisor

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

Singaiah_Chintalapudi

Hi, Can you please share a reference link on how to use experience fragments with static template. We are using static templates and want to leverage experience fragments. Can we create a experience fragment using editable template and then include the fragment created into the existing static template?