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 select_document_type popup.

Is this approach the good one and do I miss something ? Otherwise what's the right way to filter available types ?

0 votes

1 answers

879 views

ANSWER

Gab
Here are all the subType section available for <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

12/18/2013



Deployment Mode: Override did the job.

0 votes



Hi Gab, I have the same problem at the moment and i don't found a solution. Can you help me
09/06/2018