Measurable Success «10 Checkpoints for Future-Proof Enterprise CMS» White Paper
Measurable Success - White Paper

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