Adobe Experience Fragments - Custom Components | Community
Skip to main content
Level 2
Jul 17, 2018 10:27 PM UTC
Solved

Adobe Experience Fragments - Custom Components

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.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
arunpatidar
arunpatidarAccepted solution
New Participant
Jul 17, 2018 10:59 PM UTC

Hi,

for editable templates, It is done by policy

Please check Creating Page Templates

for example, if you will edit http://localhost:4502/editor.html/conf/we-retail/settings/wcm/templates/experience-fragment-web-variation/structure.html

Arun Patidar

6 replies

wmedina14Author
Level 2
Jul 20, 2018 3:33 PM UTC

Oks arunp99088702.

Really thank you.

Translate
arunpatidar
New Participant
Jul 19, 2018 7:18 PM UTC

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

Translate
Arun Patidar
wmedina14Author
Level 2
Jul 19, 2018 5:50 PM UTC

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 )
Translate
arunpatidar
New Participant
Jul 18, 2018 7:17 PM UTC

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

Translate
Arun Patidar
wmedina14Author
Level 2
Jul 18, 2018 4:43 PM UTC

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.

Translate
arunpatidar
arunpatidarAccepted solution
New Participant
Jul 17, 2018 10:59 PM UTC

Hi,

for editable templates, It is done by policy

Please check Creating Page Templates

for example, if you will edit http://localhost:4502/editor.html/conf/we-retail/settings/wcm/templates/experience-fragment-web-variation/structure.html

Translate
Arun Patidar