Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Adobe Experience Fragments - Custom Components

wmedina14
Level 2
Level 2

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.

1 Accepted Solution
Arun_Patidar
Correct answer by
Community Advisor
Community Advisor
0 Replies
Arun_Patidar
Correct answer by
Community Advisor
Community Advisor

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-vari...

Screen Shot 2018-07-18 at 12.57.08 AM.png

Screen Shot 2018-07-18 at 12.55.41 AM.png

wmedina14
Level 2
Level 2

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.

Arun_Patidar
Community Advisor
Community Advisor

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
Level 2
Level 2

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
Community Advisor
Community Advisor

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
Level 2
Level 2

Oks arunp99088702.

Really thank you.