There are tutorials showing how to create a content fragment model via the web UI. This is of little use, as this will exist only on a developers local instance.
We need a way to create content fragment models in our projects repository, so that we can build and deploy it to all our environments, and so that other developers get the model when they checkout the code from git and build / install?
We have the same issue with page template types.
Any ideas?
Solved! Go to Solution.
Views
Replies
Total Likes
The content fragment models / Templates can be made part of ui.content module to be deployed on all servers.
Once deployed, you would be able to access the CFM on server or other developer's system
refer these for better details -
https://www.aemquickstart.in/2020/03/fetch-content-fragment-using-sling-model.html
Hi,
I'm part of the product team.
We have a new API for managing Content Fragment models about to be released.
There's a JSON payload to provide as request body.
How do you store those models today?
Regards,
Gilles
The content fragment models / Templates can be made part of ui.content module to be deployed on all servers.
Once deployed, you would be able to access the CFM on server or other developer's system
Views
Likes
Replies