Putting a Component in a Content Fragment

Avatar

Avatar

anupamp17770278

Avatar

anupamp17770278

anupamp17770278

28-06-2018

Can we put a component in a Content Fragment ?

​For example - I have this component that forms a table on a page (Values displayed are generated depending upon selection in dialog), so now I want to put this component in a content fragment and store it as an asset, so that same component/content fragment can be used on multiple pages to form different table values. Is this possible in AEM 6.3 or even through codes ?

View Entire Topic

Avatar

Avatar

anupamp17770278

Avatar

anupamp17770278

anupamp17770278

28-06-2018

arunp99088702​ I have one more question here, so content fragment is kind of an asset and we can use   /api/assets/samplefragment.json to expose the json, do we any APIs that can expose the same for EF ?  And the api/assets actually helps download the content fragment also. Do we have anything similar to that for EF ? My requirement is more like storing the EF as an asset.