I have requirement to create a component(carousel) and build a content service around this component.
I have created a content fragment model and content fragment. But i am not getting how to connect this carousel component and content service model.
I am able to add text fields and date&time fields etc.. based on the datatype option available. How will i be able to insert the component here? So that i can make this as a content as a service.
You can expose component as a JSON without using content fragments.
Please check below:
AEM Developer Learning : Sling Model Exporter in AEM 6.3
Adobe Experience Manager Help | Understanding Sling Model Exporters in AEM