A DataLocator
allows editors to reference data from CMS content, in an abstract way, in order to specify the data a specific piece of CMS content should use.
A DataLocator
allows editors to reference data from CMS content, in an abstract way, in order to specify the data a specific piece of CMS content should use.
Data locators are stored in attributes of the datalocator
type inside CMS objects or widgets:
A DataLocator
has no public properties, and no methods. It is solely used to retrieve data referencing information from a CMS object or a widget, which must have been configured manually by an editor in the Scrivito UI. This referencing information can then be used with objsFromDataLocator
in order to retrieve the referenced CMS objects: