Hide a Namespace in the CMS editor - Enterprise Java Content management system - Hippo CMS

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:

hide-namespace.yaml

definitions:
  config:
    /hippo:configuration/hippo:frontend/cms/cms-tree-views/configuration/configurationBrowser/filters:
      /hideMynamespace:
        .meta:order-before: showOtherNamespaces
        jcr:primaryType: frontend:pluginconfig
        display: false
        path: /hippo:namespaces/mynamespace
When creating this configuration manually in the Console (during development), make sure that your frontend:pluginconfig node is inserted  before the showOtherNamespaces node.

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:

hide-namespace.yaml

definitions:
  config:
    /hippo:configuration/hippo:frontend/cms/cms-tree-views/configuration/configurationBrowser/filters:
      /hideMynamespace:
        .meta:order-before: showOtherNamespaces
        jcr:primaryType: frontend:pluginconfig
        display: false
        path: /hippo:namespaces/mynamespace
When creating this configuration manually in the Console (during development), make sure that your frontend:pluginconfig node is inserted  before the showOtherNamespaces node.