02-28-2012 09:50 AM
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?
03-02-2012 10:22 AM
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">
<require>org.nuxeo.webengine.blogs.ecm.types</require>
<require>org.nuxeo.ecm.platform.forum.types</require>
<extension target="org.nuxeo.ecm.platform.types.TypeService"
point="types">
<type id="Workspace">
<subtypes>
<type hidden="create">Forum</type>
<type hidden="create">BlogSite</type>
</subtypes>
</type>
</extension>
</component>
03-02-2012 10:22 AM
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">
<require>org.nuxeo.webengine.blogs.ecm.types</require>
<require>org.nuxeo.ecm.platform.forum.types</require>
<extension target="org.nuxeo.ecm.platform.types.TypeService"
point="types">
<type id="Workspace">
<subtypes>
<type hidden="create">Forum</type>
<type hidden="create">BlogSite</type>
</subtypes>
</type>
</extension>
</component>
03-02-2012 10:23 AM
Thank you very much!
09-05-2018 06:27 AM
Hi , I have the same problem and i try to do it but it does not work.
you have any idea. Thanks
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.