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 configurations to hide that namespace from the configuration tab:
Hiding the Namespace in the Folder Tree View
The folder tree view, on the left side, shows all the namespaces by default. Add a configuration file like the following to hide your namespace in the folder tree view pane.
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
Hiding the Namespace in the Folder List View
The folder list view, on the right side, shows all the namespaces by default. Add a configuration file like the following to hide your namespace in the folder list view pane.
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