Suggestion : create a custom namespace for my application

bilala23933647

28-05-2020

Dear Community members,

 

I am curious if I can create a namespace to save my custom properties. Just like what AEM offers - jcr:title, dc:description, etc . I want to create my own(mysite:customTitle) and use it across my application.

 

A. is it feasible?

B. If yes, then how to do it? what's the catch and things I must take care of while creating one?

 

Look forward to your valuable thoughts on this.

 

Many thanks in advance,

Bilal.

AEM AEM 6.4 JCR
View Entire Topic

Jörg_Hoh

Employee

28-05-2020

It's doable, but I would avoid it. Why? Because you always have to take care that this namespace is registered. Sharing a content package with Adobe support might not be that straight forward anymore.

 

Full disclosure: I never created custom namespaces in my projects. Worked very well 🙂 And I never missed them.