how to hide doc types in the create document dialog from web-ui

To hide doc types in the create document dialog in JSF-UI the follows contribution works fine but not in the WEB-UI:

<component name="my.component" version="1.0.0">
    <require>org.nuxeo.ecm.platform.types</require>
    <extension target="org.nuxeo.ecm.platform.types.TypeService" point="types">
       <type id="Note" remove="true"/>
    </extension>
</component>

Any suggest on how to do it in web-ui?

0 votes

1 answers

990 views

ANSWER



Hello,

Do you have any business logic? Like “Users from Group A can create this doctype” ? If not, playing with allowed children types and parent types would make the job

Regards

0 votes