Nodes in the repository are subject to naming conventions of the Java Content Repository. However AEM imposes further conventions for the name of page nodes.
These naming conventions are implemented at various levels:
JcrUtil: the AEM implementation of the JCR utilities.
PageManager: the Page Manager provides methods for page level operations.
According to the UI being used:
JcrUtil is the AEM implementation of the JCR utilities. Of particular interest to validating names are the character mappings that it controls and the following validations:
isValidName
createValidName
PageManager provides methods for page level operations, based on JCRUtil.
The standard, touch-enabled UI:
Validates the name according to the restrictions imposed by PageManager when either:
The classic UI imposes tighter restrictions:
Validates the name when an explicit node name when either:
Valid characters (only these characters are actually valid when a page is created from within the classic UI, even though PageManagerImpl
would allow additional characters):
-
(dash/minus)