Generate ui.content folder in AEM project | Community
Skip to main content
New Participant
April 5, 2022
Solved

Generate ui.content folder in AEM project

  • April 5, 2022
  • 1 reply
  • 669 views

Hi all,

in my company I need to work on an old aem project (AEM 6.4.5).

In this project there's no ui.content folder (only /core and /ui.apps) so when I install the package on my local instance there's no Sites instance of this project. How can I generate this site and some sample pages for this project?

Sorry but I'm new to AEM.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Anish-Sinha

Hi @giuderos ,

You can generate a new project using the latest archetype forAEM 6.4.5 and then copy the ui.content in your code base. You will have to update the pom.xml as per your project version and dependency. Also, include this new content structure in your parent pom.xml.

Once this is done, You can package some sample pages that you want to include in the build and copy those pages in ui.content folder and also those required path in filter.xml file. Add any dependency it asks for.

1 reply

Anish-Sinha
Anish-SinhaAccepted solution
Employee
April 5, 2022

Hi @giuderos ,

You can generate a new project using the latest archetype forAEM 6.4.5 and then copy the ui.content in your code base. You will have to update the pom.xml as per your project version and dependency. Also, include this new content structure in your parent pom.xml.

Once this is done, You can package some sample pages that you want to include in the build and copy those pages in ui.content folder and also those required path in filter.xml file. Add any dependency it asks for.