Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

custom namespace not getting registered in AEM


Level 1

How do we register namespace through .cnd file in AEM ?

I followed Namespace | Content Management  and tried putting .cnd file in /apps/cq and uploaded through "mvn clean install -PautoInstallPackage" but no luck.

My .cnd file has this line "<demo='demo'>".

Please help with the issue.

3 Replies


Community Advisor

Can you check if your file deployed or not in crxde from eclipse.

try to create manual file, if no luck, try below

Adobe AEM/CQ5 Articles: Creating custom JCR node type


Level 1

The file is getting deployed in crxde but namespace is not getting registered. Also tried creating listener but it doesn't seem to work either.


Level 4

Hi There,


Please refer article which works fine. 


Just a little correction in the steps, if you just register it with namespace registration with a single line shown as below, it does not work(techrevel namespace):




To make it work also put the nodetype definition even if you don't need it like shown below:


[sling:Folder] > nt:folder
- * (undefined)
- * (undefined) multiple
+ * (nt:base) = sling:Folder version