Suggestion : create a custom namespace for my application

Avatar

Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile

Avatar
Springboard
Level 4
bilal_ahmad
Level 4

Likes

67 likes

Total Posts

108 posts

Correct reply

16 solutions
Top badges earned
Springboard
Validate 10
Validate 1
Ignite 1
Establish
View profile
bilal_ahmad
Level 4

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.

View Entire Topic

Avatar

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile

Avatar
Give Back 50
Employee
berliant
Employee

Likes

207 likes

Total Posts

315 posts

Correct reply

98 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 10
View profile
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