Custom Data Types

0
Is there a way to specify a custom data type for an attribute in Mendix apart from the available base data types like boolean, integer, decimal, etc.? For example, I want to assign a data type of "PartNumber" to a attribute "partNumber", is it possible to first create the data type "PartNumber" (which follows a certain pattern of characters) and then use it as a data type for the attribute?
asked
1 answers
1

Hi

You can't edit or add the default mendix data types, see: https://docs.mendix.com/refguide/attributes

You could have work with regular expressions and inputmasks to enforce a patern: https://docs.mendix.com/refguide/regular-expressions

answered