Scrivito JS SDK 1.46.0 Released

Posted on December 16, 2024

Interface Builder improvements

Using attributes of the current page context

Attributes of the current page and its ancestors are now available to editors as placeholders and as a data source (datalocator).

Note that only attributes of the string type that are also included as attributes in the editing configuration are available for selection.

Placeholders
Data sources

urlForDataItem also returns the URL of a page or binary

If a page object is passed to urlForDataItem, i.e., an object with an object class for which a component exists, the URL of this page is now returned. For the Binary type, it now returns the URL of the binary.

Data integration is disabled by default 

The activateDataIntegration configuration option now defaults to false, meaning, for example, that placeholders are not filled in. To enable placeholder replacement and data integration, set activateDataIntegration to true.

Thanks again for using Scrivito!