How to create c:page and jcr:content using API

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.

Adobe 로고

내 계정 로그인