For the application to utilize the attributes selected by content editors, the Scrivito SDK now includes a (beta) API for representing data attributes, DataItemAttribute
. A data item attribute can be accessed from a data item via DataScope#dataItemAttribute
. It can be used to get
or update
the attribute value, as well as inspect the item
and class
it originates from. A DataScope
now also provides direct access to its attribute name via DataScope#attributeName
.