Adobe Experience Fragments - Custom Components | Community
Skip to main content
July 17, 2018
Solved

Adobe Experience Fragments - Custom Components

  • July 17, 2018
  • 6 replies
  • 2627 views

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.
Best answer by arunpatidar

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

6 replies

arunpatidar
Community Advisor
arunpatidarCommunity AdvisorAccepted solution
Community Advisor
July 17, 2018
Arun Patidar
wmedina14Author
July 18, 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.

arunpatidar
Community Advisor
Community Advisor
July 18, 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

Arun Patidar
wmedina14Author
July 19, 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 )
arunpatidar
Community Advisor
Community Advisor
July 19, 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

Arun Patidar
wmedina14Author
July 20, 2018

Oks arunp99088702.

Really thank you.