Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

[AEM Gems Webinar] Accelerating Experience Manager as a Cloud Service development with Rapid Development Environments

How to create a content fragment model in code?

Avatar

Level 9

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?

2 Replies