How to programatically create pages in AEM with editable template

1.1k views Asked by At

I am used to work with the pagemanager to create pages:

pageManager.create(parentPath, name, template, title, false);

This works with normal templates stored in /apps. Since Adobe recommends to use editable templates (stored in /conf), the above approach does not work: It creates the page but without the template attached to the node. Is it a bug or is there another approach how to create pages based on editable templates?

1

There are 1 answers

1
nicolas On

That was a stupid one, sorry for asking. Resolution: Read-rights must be given for /conf.