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
BedrockMission!

Learn More

View all

Sign in to view all badges

custom namespace not getting registered in AEM

Avatar

Avatar
Boost 1
Level 1
ashishp61733193
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
ashishp61733193
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
ashishp61733193
Level 1

09-05-2019

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.

Replies

Avatar

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,358 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile

Avatar
Coach
MVP
Arun_Patidar
MVP

Likes

1,358 likes

Total Posts

3,228 posts

Correct Reply

918 solutions
Top badges earned
Coach
Contributor 2
Ignite 10
Give Back 700
Boost 1000
View profile
Arun_Patidar
MVP

10-05-2019

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

Avatar

Avatar
Boost 1
Level 1
ashishp61733193
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile

Avatar
Boost 1
Level 1
ashishp61733193
Level 1

Like

1 like

Total Posts

2 posts

Correct Reply

0 solutions
Top badges earned
Boost 1
View profile
ashishp61733193
Level 1

13-05-2019

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.

Avatar

Avatar
Give Back 5
Level 4
SameerBhalerao
Level 4

Likes

35 likes

Total Posts

30 posts

Correct Reply

16 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 5
Boost 3
View profile

Avatar
Give Back 5
Level 4
SameerBhalerao
Level 4

Likes

35 likes

Total Posts

30 posts

Correct Reply

16 solutions
Top badges earned
Give Back 5
Give Back 3
Give Back
Boost 5
Boost 3
View profile
SameerBhalerao
Level 4

14-07-2020

Hi There,

 

Please refer article https://techrevel.blog/2020/01/23/aem-custom-namespace/ 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):

 

<'techrevel'='http://www.techrevel.blog'>

 

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


<'sling'='http://sling.apache.org/jcr/sling/1.0'>
<'nt'='http://www.jcp.org/jcr/nt/1.0'>
<'techrevel'='http://www.techrevel.blog'>

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

 

Thanks!