Is there a current best practice to create content fragments programmatically AEM Headless (using React)?
Would it be through the Assets API? Anything to take into account?
i assume it would be similar to here:
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
Correct, you can use the Assets API, here is the swagger with some clarifications; https://developer.adobe.com/experience-manager/reference-materials/6-5/assets-api-content-fragments/.... The only thing you need to make sure is to map correctly the ":type", you could first try in something like postman and then just mimic the same request in React. It should not be a problem
Hope this helps
Hi,
Correct, you can use the Assets API, here is the swagger with some clarifications; https://developer.adobe.com/experience-manager/reference-materials/6-5/assets-api-content-fragments/.... The only thing you need to make sure is to map correctly the ":type", you could first try in something like postman and then just mimic the same request in React. It should not be a problem
Hope this helps
Thanks. Great link as well.
Views
Replies
Total Likes
Hi @mvotos,
This community article could be helpful as well - https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/how-to-use-content-fragmen...
Thanks,
Chitra