This is a development tutorial illustrating how to develop for AEM Projects. In this tutorial we will create a custom Project template that can be used to create new Projects within AEM for managing content authoring workflows and tasks.
[AEM Projects] is a feature of AEM designed to make it easier to manage and group all of the workflows and tasks associated with content creation as part of an AEM Sites or Assets implementation.
AEM Projects comes with several OOTB project templates . When creating a new project, authors can choose from these available templates. Large AEM implementations with unique business requirements will want to create custom Project templates, tailored to meet their needs. By creating a custom Project template developers can configure the project dashboard, hook into custom workflows, and create additional business roles for a project. We will take a look at the structure of a Project Template and create a sample one.
This tutorial will step through the code necessary to create a custom Project template. You can download and install the attached package to a local environment to follow along with the tutorial. You can also access the full Maven project hosted on GitHub .
Structure of a project template
Project Templates should be put under source control and should live beneath your application folder under /apps. Ideally they should be placed in a sub-folder with the naming convention of */projects/templates/ . By placing following this naming convention any new custom templates will automatically become available to authors when creating a project. The configuration of available Project Templates is set at: /content/projects/jcr:content node by the cq:allowedTemplates property. By default this is a regular expression: /(apps|libs)/.*/projects/templates/.*