This article covers a Bloomreach Experience Manager version 11. There's an updated version available that covers our most recent release.

Hide a Namespace in the CMS editor

When your plugin defines a namespace and that namespace is not intended for editing in the CMS, make sure that you add the following configuration to hide that namespace from the configuration tab:

hippoecm-extension.xml

 <sv:node sv:name="hide-mynamespace-from-configuration">
   <sv:property sv:name="jcr:primaryType" sv:type="Name">
     <sv:value>hippo:initializeitem</sv:value>
   </sv:property>
   <sv:property sv:name="hippo:sequence" sv:type="Double">
     <sv:value>10000</sv:value>
   </sv:property>
   <sv:property sv:name="hippo:contentresource" sv:type="String">
     <sv:value>hide-mynamespace.xml</sv:value>
   </sv:property>
   <sv:property sv:name="hippo:contentroot" sv:type="String">
     <sv:value>
        /hippo:configuration/hippo:frontend/cms/cms-tree-views/configuration/configurationBrowser/filters
      </sv:value>
   </sv:property>
 </sv:node>

hide-mynamespace.xml

 <sv:node xmlns:sv="http://www.jcp.org/jcr/sv/1.0"
          xmlns:h="http://www.onehippo.org/jcr/xmlimport"
          sv:name="hideMynamespace" h:merge="insert"
          h:location="showOtherNamespaces">
   <sv:property sv:name="jcr:primaryType" sv:type="Name">
     <sv:value>frontend:pluginconfig</sv:value>
   </sv:property>
   <sv:property sv:name="display" sv:type="Boolean">
     <sv:value>false</sv:value>
   </sv:property>
   <sv:property sv:name="path" sv:type="String">
     <sv:value>/hippo:namespaces/mynamespace</sv:value>
   </sv:property>
 </sv:node>
When creating this configuration manually in the Console (during development), make sure that your frontend:pluginconfig node is inserted  before the showOtherNamespaces node.
Did you find this page helpful?
How could this documentation serve you better?
On this page
    Did you find this page helpful?
    How could this documentation serve you better?