Hello everybody!!

I want to hide or disable a "note"  document type, for prevent creation into
"workspace" or folder

i have the next code:

<component name="org.nuxeo.ecm.platform.actionsContrib">
<require>org.nuxeo.ecm.core.CoreExtensions</require>
<require>org.nuxeo.ecm.platform.types</require>

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

<type id="Workspace">
      <label>Workspace</label>
      <icon>/icons/workspace.gif</icon>
      <bigIcon>/icons/workspace_100.png</bigIcon>
      <icon-expanded>/icons/workspace_open.gif</icon-expanded>
      <category>Collaborative</category>
      <description>Workspace.description</description>
      <default-view>view_documents</default-view>
      <create-view>create_workspace</create-view>
      <subtypes>
        <type>Workspace</type>
        <type>Folder</type>
        <type>File</type>
        <!--<type>Note</type>-->
      </subtypes>
      <layouts mode="any">
        <layout>heading</layout>
        <!--<layout>file</layout>-->
      </layouts>
      <layouts mode="edit">
        <layout>heading</layout>
        <!--<layout>file</layout>-->
        <layout>dublincore</layout>
      </layouts>
    </type>
</extension>



but, when i click to create a new document, the "note" doc. type appears
again

could someone help me on this?
Thks. in advanced.
-- 
Jesus Ibañez
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm
To unsubscribe, go to http://lists.nuxeo.com/mailman/options/ecm

Reply via email to