Hi Team,
The scenario is that the content authors are going to create several content-fragments. These content-fragments will have to be then consumed by AEM and Mobile App, to apply appropriate styling to be published to the end customer.
I have gone through several documents where a content-fragment is associated with a page and then exposed as a JSON. Are there any better ways in which we can expose the content-fragment?
What's the best way to expose and consume content fragments within AEM and for an App?
Views
Replies
Total Likes
You can use content services from aem to get the CF
here is a demo with react app
https://helpx.adobe.com/experience-manager/kt/sites/using/content-services-tutorial-use/part7.html
Views
Replies
Total Likes
Hi Edubey,
Thank you for the article reference. It is helpful but they are using multiple content-fragments onto a page which is then exposed. Are there any alternative ways in which we can expose this content-fragment data?
Views
Replies
Total Likes
While waiting to Praveen to reply - i recommend that you watch this Ask the AEM COMMUNITY Experts on Content Services - AEM Content Services: What, Why, and How?
Views
Replies
Total Likes
Of course - the basic use of them is to display within an AEM page - as discussed here -- Adobe Experience Manager Help | Working with Adobe Experience Manager 6.4 Content Fragments
Views
Replies
Total Likes
Hi Sam,
We have multiple channels where the content has to be shared. The content which is created via the content-fragments has to be consumed by the particular channel to apply the style(CSS) to achieve the look and feel.
Views
Replies
Total Likes
Praveen answer is correct - you would use Content Services in that case.
Views
Replies
Total Likes
I ended up creating an API which exposes the content fragment based on Content Fragment name
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies