Adobe Experience Fragments - Custom Components

wmedina14 17-07-2018

Hi all,

Adobe Experience Fragments is a new feature for AEM, I'm working on creating a new template and configuring it to allow custom components that works on static templates. I got the way to implement a new template based on the "Experience Fragment - Web Template", however I want to customize some things.

My question is:

  1. How can I allow to the new template (or a Out of the Box template, I mean the "Experience Fragment - Web Template"), to use my custom components.?

I have AEM 6.3 version.

Thanks in advance for any suggestions.

Answers (5)

Answers (5)

Arun_Patidar
MVP
19-07-2018

yes, it will work without any changes on template but you need to allow this template for experience fragment using allowedTemplate at property at /content/experience-fragments.

example

/conf/we-retail/settings/wcm/templates/experience-fragment-web-variation

Thanks

Arun

wmedina14 19-07-2018

Yeah, I saw some stuff about that.

I'm looking to no affect pages after created. (No dynamic connection)

Another question:

  • Any dynamic template will work for Adobe Experience Fragments.? I mean, there is no special requirements to handle the features of Experience Fragments? (ex: variations )
Arun_Patidar
MVP
18-07-2018

Hi,

I won't recommend to use static template anymore for AEM 6.3 and AEM 6.4.

Although It is possible to create experience fragment using static template. Just create static template from CRXDE and add this template in allowedTemplate at /content/experience-fragments

But use editable templates, it has advantages over static templates.

Thanks
Arun

wmedina14 18-07-2018

Hi arunp99088702,

Thank you very much. I think this is the correct answer.

However I would like to take advantage of this:

  1. Is there any way to create static templates (from developer approach), for Adobe Fragments?
  2. Is there any specific requirement.?

Again thank you very much, I appreciate the fast response.