# Is it possible to create multiple namespaces in hippo cms?

**URL:** <https://community.bloomreach.com/t/is-it-possible-to-create-multiple-namespaces-in-hippo-cms/1916>\
**Category:** Experience Manager (PaaS/OnPrem)\
**Created:** [May 15, 2020, 11:33am UTC](https://community.bloomreach.com/t/is-it-possible-to-create-multiple-namespaces-in-hippo-cms/1916 "2020-05-15T11:33:00Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ganeshraju1984](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/ganeshraju1984/32/494_2.png) [@ganeshraju1984](https://community.bloomreach.com/u/ganeshraju1984)\
**Post date:** [May 15, 2020, 11:33am UTC](https://community.bloomreach.com/t/is-it-possible-to-create-multiple-namespaces-in-hippo-cms/1916/1 "2020-05-15T11:33:00Z")

</div>

Hi Guys,

could you please let me know if it is possible below scenario.  
we are using CMS13.0.1 version, we have a requirement to create 2 namespaces under one Hippo Instance.

like namespace : A ( this will have it’s own compound & document types )  
B ( this will have it’s own compound & document types )

is it possible to have sharing compounds ?

thanks in advance & warm regards  
Ganesh

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [May 15, 2020, 1:00pm UTC](https://community.bloomreach.com/t/is-it-possible-to-create-multiple-namespaces-in-hippo-cms/1916/2 "2020-05-15T13:00:53Z")

</div>

It is possible but not advisable. It adds a lot of complications with tooling (essentials), coding, update scripts and such… and doesn’t add much value (IMO).

---

<div class="post-metadata">

**Author:** ![ganeshraju1984](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/ganeshraju1984/32/494_2.png) [@ganeshraju1984](https://community.bloomreach.com/u/ganeshraju1984)\
**Post date:** [May 15, 2020, 2:16pm UTC](https://community.bloomreach.com/t/is-it-possible-to-create-multiple-namespaces-in-hippo-cms/1916/3 "2020-05-15T14:16:02Z")

</div>

Hello Machak,

thanks for your valuable suggestion and immediate reply.  
But we have requirement like above.  
I have created .cnd file, added .yaml file and main.yaml i have added our name space details.  
definitions:  
config:  
/hippo:namespaces/cmsdigitalcontent:  
jcr:primaryType: hipposysedit:namespace  
jcr:mixinTypes: [‘mix:referenceable’]  
jcr:uuid: c5da6028-ebe2-4d1c-baaa-8b3747d91e9e

i tried to create namespace from console but i am running into below exception. could you please help me out.

[SaveDialog.onOk:84] Error while saving content from the console

[**INFO**] [talledLocalContainer] javax.jcr.nodetype.ConstraintViolationException: /content/documents/cmsdigitalcontent: mandatory property {[http://www.onehippo.org/jcr/hippotranslation/nt/1.0](http://www.onehippo.org/jcr/hippotranslation/nt/1.0)}locale does not exist

thanks & regards  
Ganesh

---

<div class="post-metadata">

**Author:** ![machak](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/machak/32/1298_2.png) [@machak](https://community.bloomreach.com/u/machak)\
**Post date:** [May 15, 2020, 2:38pm UTC](https://community.bloomreach.com/t/is-it-possible-to-create-multiple-namespaces-in-hippo-cms/1916/4 "2020-05-15T14:38:41Z")

</div>

> [@ganeshraju1984](#):
>
> [**INFO**] [talledLocalContainer] javax.jcr.nodetype.ConstraintViolationException: /content/documents/cmsdigitalcontent: mandatory property {[http://www.onehippo.org/jcr/hippotranslation/nt/1.0](http://www.onehippo.org/jcr/hippotranslation/nt/1.0)}locale does not exist

Your document needs hippotranslation:locale property, which is missing…  
EDIT: most probably you are missing id property too…so something like:

hippotranslation:id: cafebabe-cafe-babe-cafe-babecafebabe  
hippotranslation:locale: en

where cafe babe stuff is some unique UUID…

---

<div class="post-metadata">

**Author:** ![ganeshraju1984](https://yyz1.discourse-cdn.com/flex027/user_avatar/community.bloomreach.com/ganeshraju1984/32/494_2.png) [@ganeshraju1984](https://community.bloomreach.com/u/ganeshraju1984)\
**Post date:** [May 27, 2020, 2:39am UTC](https://community.bloomreach.com/t/is-it-possible-to-create-multiple-namespaces-in-hippo-cms/1916/5 "2020-05-27T02:39:51Z")

</div>

Hello Machak,

thanks for your time, it’s works now.

regards  
Ganesh
