How to consume AEM experience fragments | Community
Skip to main content
Level 4
September 12, 2017
Solved

How to consume AEM experience fragments

  • September 12, 2017
  • 2 replies
  • 4817 views

I have a use case where I need to create an Xfragment which will be consumed by an external application. My question is once the fragment is created how is it consumed by an external web application which is non cms application. I have gone through a tutorial which is posted by adobe about it. But it says about social posting the fragments to websites like facebook & Pinterest through Cloud which is not the same case in my case.

If there is any adobe doc about it, can someone post it over here ?

Thanks in advance !!

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 kautuk_sahni

1.You can push an XF to an endpoint by using, for example, the 3rd party's  API (e.g. Facebook / Pinterest).

2. A 3rd party can also pull an XF from AEM. Every XF has a unique URL that can be embedded/used. AEM support HTML

3. Every XF has a unique URL that can be embedded/used.

4. Embedding an HTML XF can be achieved by using an <iframe> or web components.

Currently, AEM supports HTML ootb (More options coming in future releases) but you can implement any format (e.g. image, json, ...).

For Reference: Re: What's the best way to implement content/Experience as a service in AEM 6.3?

~kautuk

2 replies

kautuk_sahni
Community Manager
kautuk_sahniCommunity ManagerAccepted solution
Community Manager
September 12, 2017

1.You can push an XF to an endpoint by using, for example, the 3rd party's  API (e.g. Facebook / Pinterest).

2. A 3rd party can also pull an XF from AEM. Every XF has a unique URL that can be embedded/used. AEM support HTML

3. Every XF has a unique URL that can be embedded/used.

4. Embedding an HTML XF can be achieved by using an <iframe> or web components.

Currently, AEM supports HTML ootb (More options coming in future releases) but you can implement any format (e.g. image, json, ...).

For Reference: Re: What's the best way to implement content/Experience as a service in AEM 6.3?

~kautuk

Kautuk Sahni
chirran414
Level 4
July 24, 2019

kautikm80618582

I too have a similar question. I have a use case that I need to create an Experience Fragment( XF) and then which will be consumed by an e-mail template. My question is once the fragment is created how is it consumed from an email template to get the static content which we created using XF.

Please let us know if there is any article on creating an XF and consuming that content from an email template.

Thanks,

Narayana