How can I delete a namespace created in CRX? | Community
Skip to main content
Adobe Employee
October 16, 2015

How can I delete a namespace created in CRX?

  • October 16, 2015
  • 2 replies
  • 8681 views

I used the interface located at: http://localhost:4502/crx/explorer/ui/namespace_editor.jsp to create a new namespace.

That interface doesn't seem to allow for modification or removal of a namespace once created.  I used CRXDElite to search for my namespace in the repository and couldn't find it.

How can I delete or modify a namespace I've created in CRX?

Thank you, 

Lee Klement

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

satyamuddala
October 16, 2015

Follow the below steps :

1) Login to here : <ip>:<port>/crx/explorer/browser/index.jsp (Content Explorer)

2) Go to this path : /jcr:system/rep:namespaces

3) Search for the namespaces you want to delete in the properties – and then delete.

4) Save All.

Check in Namespaces - and the NS deleted should not be there. No restart required.

- Satya Muddala

LeeKl1Adobe EmployeeAuthor
Adobe Employee
July 23, 2016

@satyamuddala

Thank you!  This was a great help, but it doesn't quite work.  (Testing now in AEM 6.2)

You gave me a great lead that the namespace data is stored at /jcr:system/rep:namespaces/rep:nsdata

BUT, it doesn't appear that it can be deleted.

In CRX Explorer or CRXDE Lite you can delete it but when you refresh it is still there.  CRXDE Lite throws an error:

Could not save changes. Received 409 (Conflict) for saving changes in workspace crx.default.
OakNamespace0005: Namespace modification not allowed: rep:nsdata

So, the question remains unanswered.

 
 
smacdonald2008
Level 10
July 23, 2016

Have you tried deleting using the JCR API? 

Yogesh_Upadhyay
Level 6
October 16, 2015

Namespace should be stored under crx-quickstart/repository/repository in file system (Restart may require). You can also remove namespace using API http://www.day.com/specs/jcr/1.0/7.2_Adding_and_Deleting_Namespaces.html

Yogesh

LeeKl1Adobe EmployeeAuthor
Adobe Employee
July 23, 2016

@Yogesh:

Thank you.  I think that was true for earlier versions of Jackrabbit / CRX, but not for Jackrabbit Oak / CRX 3.

They are now stored in the repository under jcr:system at:

/jcr:system/rep:namespaces

and

/jcr:system/rep:namespaces/rep:nsdata/

But they don't seem to be editable in CRXDE Lite or CRX Content Explorer.