Marketplace Add-Ons

How to Enable Quotas on Document Types

Updated: October 16, 2020

By default, quotas are available on domains and workspaces only. It is possible to enable them on other document types using Nuxeo Studio.

  1. Create a new XML extension with the following content:

    <extension target="org.nuxeo.ecm.platform.actions.ActionService"
        point="filters">
        <filter id="QUOTA_MANAGABLE_DOCTYPES" append="true">
          <rule grant="true">
            <type>Folder</type>
          </rule>
        </filter>
    </extension>
    

    Replace Folder in the tag by the document type(s) on which you want to enable quotas.

  2. Update your Nuxeo instance with the Studio customization.

If you don't want to use Studio and prefer using your IDE, you can just add a contribution with the XML above.

 


Related documentations

Nuxeo Quota How-To Index