Hide a Namespace in the CMS Editor

If your plugin defines a namespace that should not be editable in the CMS, configure the CMS to hide that namespace from editors. Use the following configuration steps to remove the namespace from both the folder tree view and the folder list view in the CMS editor.

Hide the Namespace in the Folder Tree View

By default, the folder tree view (left pane) displays all namespaces. To exclude your namespace from this view, add a configuration file as shown below.

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

If you create this configuration manually in the Console during development, ensure that the frontend:pluginconfig node is placed before the showOtherNamespaces node.

Hide the Namespace in the Folder List View

The folder list view (right pane) also displays all namespaces by default. To hide your namespace from this view, add the following configuration file.

hide-namespace-folderviews.yaml

definitions: config: /hippo:configuration/hippo:frontend/cms/cms-folder-views/hipposysedit:namespacefolder/root/filters: /hideMynamespace: .meta:order-before: showOtherNamespaces jcr:primaryType: frontend:pluginconfig display: false path: /hippo:namespaces/mynamespace

If you create this configuration manually in the Console during development, ensure that the frontend:pluginconfig node is placed before the showOtherNamespaces node.

Share Feedback
Page: /build/plugins/core-plugins/hide-a-namespace-in-the-cms-editor
Section: Build
Category *
Hide a Namespace in the CMS editor | Bloomreach Content Documentation