newDocument action - filter available document types
I would like to restrict the available types on a new document creation inside a workspace.
Using studio I restricted the
Accepted Children Types for the
Workspace type in
Content Model\Documents section
Anyway I still have some entries like “discussion forum”, “mail folder”, “pictures book” and so on in the
Is this approach the good one and do I miss something ? Otherwise what's the right way to filter available types ?
<type id="Workspace">elements in the extension.xml file generated by studio :
<subtypes> <type>File</type> <type>Folder</type> <type>Workspace</type> <type>Note</type> </subtypes> <subtypes> <type>Workspace</type> </subtypes> <subtypes> <type>devequalite</type> </subtypes> <subtypes> <type>Picture</type> </subtypes>
Considering all of this will be merged I expect only those types to be available on document creation