Using experience fragment externally | Community
Skip to main content
April 24, 2023
Solved

Using experience fragment externally

  • April 24, 2023
  • 2 replies
  • 1239 views

Hello community,

 

Is it possible to render experience fragments externally with <iframe>? Does anyone know a good tutorial?

 

I'm encountering issues trying to render with iframe.

 

Thanks!

 

 

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 Saravanan_Dharmaraj

@johnnyf0202  Please check the below blog which shows the use case implementation

https://medium.com/exadel-digital-marketing-technology-practice/aem-experience-fragments-consuming-outside-aem-81cb5b6bdc65

 

2 replies

Saravanan_Dharmaraj
Community Advisor
Saravanan_DharmarajCommunity AdvisorAccepted solution
Community Advisor
April 24, 2023
ManviSharma
Adobe Employee
Adobe Employee
April 24, 2023

Hi,

 

Yes, it is possible to render experience fragments externally with <iframe>. However, there are a few things to keep in mind when doing so.

First, you need to ensure that the experience fragment is published and accessible to the external site. You can do this by either setting up an authentication mechanism for the external site to access the experience fragment or by making the experience fragment public.

 

Once the experience fragment is accessible, you can use an <iframe> element in your HTML to display it on the external site.