Options for constraints of properties - Alfresco Content Services - 23.4 - 23.4 - Ready - Alfresco - external - Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Configure/Content-models/Custom-types-aspects-and-properties/Manage-properties/Create-a-property/Options-for-constraints-of-properties - 2025-06-02

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License

The options for constraints of properties are:

Constraint type Description
Regular expression Set a regular expression that values must match to be valid for example, a regular expression that matches four letters followed by four digits would be: /^[A-Za-z]{4}\d{4}$/.
Minimum / maximum length Set the minimum and maximum number of characters a value for the property can be,for example 0 and 10.
Minimum / maximum value Set the minimum and maximum values for properties, for example 5.
List of values Set a list of predefined values the property must be chosen from, for example payable,non-payable,unknown.
Java class Set the fully qualified Java class to use for restricting the values of the property.