Suggestion : create a custom namespace for my application

Avatar

Avatar

bilala23933647

Avatar

bilala23933647

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

Avatar

Avatar

berliant

Employee

Avatar

berliant

Employee

berliant
Employee

28-05-2020

Yes, it's feasible to add a custom namespace.

1. Open up CRX Explorer by going to http://localhost:4502/crx/explorer/index.jsp. If you are not logged in, select Login and enter Admin credentials for the AEM environment:

2. Select Node Type Administration and in the new window, select Namespaces

3. At the bottom of the window, select New

4. Enter a URL (for now, it doesn’t have to be a real URL, for example, http://weretail.com)

5. Enter a prefix, for example mysite

6. Select OK