cancel
Showing results for 
Search instead for 
Did you mean: 

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

jibanez
Champ in-the-making
Champ in-the-making

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?

1 REPLY 1

Gregory_Carlin
Elite Collaborator
Elite Collaborator

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