Predefined types of document and folder

Is it possible to disable some types of document and folder? For example, when I add a new resource, I don't want “forum” and “blog” to appear between tha possible choices. Is there a way to disable them?

0 votes

2 answers



Yes, it's possible through a contribution. Put the following XML in a XML file in folder OSGI-INF of your project.

<?xml version="1.0" encoding="UTF-8"?>
<component name="yourComponentName">

  <extension target="org.nuxeo.ecm.platform.types.TypeService"

    <type id="Workspace">
        <type hidden="create">Forum</type>
        <type hidden="create">BlogSite</type>

1 votes

Thank you very much!

Hi , I have the same problem and i try to do it but it does not work.

you have any idea. Thanks

0 votes