Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Styled Exterience Fragments in External Site without Target

Avatar

Level 1

Please let me know if this has already been answered....I have searched but have not found.

 

I would like to place an experience fragment on an external site, styled as in the AEM site, without using Target.

When I have tried, I am getting the XF but it is unstyled.

 

Is this possible and if so, what do I need to do to make it happen?  Links to documentation would be great if possible.

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi @woodstepha ,

We can export experience fragment to target in the below three formats and by default it will be json.

  • HTML (default): Support for web and hybrid content delivery
  • JSON: Support for headless content delivery
  • HTML & JSON

For external usage, kindly have a look on the below article.

https://exadel.com/news/aem-experience-fragments-consuming-outside-aem/

 

Hope this helps.

Thanks

 

 

View solution in original post

3 Replies

Avatar

Community Advisor

May I know how clientlibs are included, using page policy? Or hard-coded in customheaderlibs.html?

Avatar

Correct answer by
Level 4

Hi @woodstepha ,

We can export experience fragment to target in the below three formats and by default it will be json.

  • HTML (default): Support for web and hybrid content delivery
  • JSON: Support for headless content delivery
  • HTML & JSON

For external usage, kindly have a look on the below article.

https://exadel.com/news/aem-experience-fragments-consuming-outside-aem/

 

Hope this helps.

Thanks

 

 

Avatar

Level 1

Hi Woodstepha,

 

Would you please let me know how you placed the experience fragment on an external site. I would like to place it in external sites such as facebook. "Experience Fragments HTML rendering output processor" did not appear in configMgr. your response is much appreciated. 

 

Thanks