Custom Attribute Types

Through their object class, CMS objects as well as widgets can be equipped with attributes of the below types. For examples of how to define attributes in an object class, see Customizing Pages, Creating a Custom Page Type, or Adding an Option to a Widget.

Scrivito typeJS typeDefault
dateDatenull
enumStringnull
multienumArray<String>[]
htmlString""
stringString""
stringlistArray<String>[]
integerNumber0
floatNumber0
binaryBinarynull
linkLinknull
linklistArray<Link>[]
referenceObjnull
referencelistArray<Obj>[]
widgetlistArray<Widget>[]