Last updated on
May 18, 2021
Question
How to create c:page and jcr:content nodes by using the AEM API?
Answer
Create a page by using the PageManager.create(String parentPath, String pageName, String template, String title, boolean autoSave) method. For more information, see https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/day/cq/wcm/api/PageManager.html.