Learn how Scrivito CMS can help you deliver amazing digital experiences
See Scrivito CMS in action

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>[]