Skip to main content
Level 3
Mar 27, 2024 11:58 AM UTC
Solved

Can content fragment exported as HTML format?

Hi,

 

Can content fragment exported as HTML format? If yes, could you please let us know how.

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.

4 replies

MayurSatav
Community Advisor
Community Advisor
Mar 27, 2024 2:14 PM UTC

@aj_9625932 , Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.

Translate
Mayur Satav | www.mayursatav.in
Saravanan_Dharmaraj
Community Advisor
Community Advisor
Mar 27, 2024 3:12 PM UTC

@aj_9625932 I see two approaches ca be explored:
1. Embed the CF into Experience Fragment which can be exported in HTML format. 
2. Write a custom utility to convert CF json export into html

 

please check this out https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/content-fragment-can-cf-be-used-for-email-templates/m-p/554181

 

Translate
aanchal-sikka
Community Advisor
Community Advisor
Mar 28, 2024 3:04 PM UTC

@aj_9625932 

 

The Content Fragment component is available to page authors. It allows them to reference, and deliver, the required content fragment in either HTML or JSON format.

Reference: Working with Content Fragments | Adobe Experience Manager

Translate
Aanchal Sikka