Test Enterprise-Class Web CMS Scrivito Free for 30 Days
Test Scrivito Free for 30 Days

Custom Attribute Types

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
booleanBooleanfalse
dateDatenull
datetimeDatenull
enumStringnull
multienumArray<String>[]
htmlString""
stringString""
stringlistArray<String>[]
integerNumber0
floatNumber0
binaryBinarynull
linkLinknull
linklistArray<Link>[]
referenceObjnull
referencelistArray<Obj>[]
widgetlistArray<Widget>[]