How to expose content fragment as Json without associating to pages - AEM 6.4 Assets

Magesh06

19-02-2020

Hi, we have a requirement to expose the content fragments to different channels like mobile, chat app etc and I figured out we can use 'Space and Entities' feature to achieve this. To enable this feature it was mentioned that first I need to enable AEM Content Service using the configuration com.adobe.cq.caas.impl.feature.ContentServicesFeatureFlag but the problem is this configuration is not even showing up in the config manager to configure accordingly. 

 

I am not having any service pack, it's just 6.4.

 

Do let me know if there are any effective way to address this requirement.

AEM6.3.0 CAAS content fragments

Accepted Solutions (1)

Accepted Solutions (1)

Nirmal_Jose

MVP

20-02-2020

Content as a Service (CaaS) was managed via a sling feature flag in AEM 6.3 only. In 6.4, its enabled by defaults and we don't have this flag. You can follow the link @Arun_Patidar mentioned and straight away create the content fragments using content fragment models and expose them as JSON end points directly.

 

If you are 6.4.0, default core component version will be <2.4.0. In this case CF component is not available, you need to install extension package to get it. eg. 2.2.2 version extension is at https://github.com/adobe/aem-core-wcm-components/releases/download/core.wcm.components.reactor-2.2.2...

Answers (1)

Answers (1)

Arun_Patidar

MVP

19-02-2020