Scrivito JS SDK 1.29.0 Released

Reducing the payload for your website visitors

You’ve probably already noticed that Scrivito’s editing interface is highly configurable through editing configurations that allow the developer to specify, for example, which page properties the editors should be able to adjust. Since website visitors don’t require these configurations, we made it possible to skip them while the website is initializing, depending on whether an editor is logged into the editing interface or not.

Using this option can slightly increase the page loading speed for visitors. See Scrivito.provideEditingConfig for details.

Keeping copied pages and widgets consistent

The Scrivito JS SDK lets you define callbacks by means of which new content created by an editor can be complemented or adjusted in the background to align it with your website’s functioning or appearance.

Version 1.14.0 of the Scrivito SDK had introduced the possibility to provide an object-class-specific callback function, initializeCopy, for initializing pages that are created by copying using the editing interface. This option has been enhanced in two ways:

First, if an editor duplicates or copies and pastes a page that has subpages, initializeCopy is now also called for all the individual pages that are created in this process.

Second, the initializeCopy callback can now also be defined for widget classes, meaning that duplicated or pasted widgets, including those nested within them, can be checked or altered as needed. As a consequence, if an editor copies a page or a hierarchy of pages, the initializeCopy callbacks of all the pieces of content involved are triggered, all the way down to the deepest widget layers. See the documentation on Scrivito.provideEditingConfig for further details.

Further improvements

  • Instant widget creation

    If an empty widget list is restricted to widgets of a single type, clicking its plus button now immediately adds a widget of this type to the list unless the clipboard contains such a widget. In the latter case, the well-known menu (“Add widget”, “Paste widget”) is opened like before so the editor can insert either a new widget or the one on the clipboard.

  • Fixed bugs

    • Assigning a very long name to a binary CMS object like an image no longer causes the editing interface to become unresponsive. Instead, the user is now presented with a message stating that the length of file names must not exceed 200 characters.
    • It is now no longer possible to publish a working copy in which the same permalink has been assigned to a different page than in the published content. In such cases, a corresponding error message is displayed.
    • A user interface bug related to global state changes was fixed.

Thanks again for using Scrivito!

More great blog posts from Andreas Viebke

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.46.0 Released

    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...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.45.0 Released

    Interface Builder Supports Further Attribute Types for Filtering

    Interface Builder improvements Filtering data by enum, boolean, date, and number attributes The Interface Builder’s data editor now also lets you filter data by attributes of the enum , boolean , date , and number types. This makes it much more convenient and intuitive to select and present data...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.44.2 Released

    Bugfix Release An issue with Scrivito.useDataLocator has been fixed. It prevented filters with reference data attributes from being evaluated properly. We apologize for any inconvenience this issue may have caused! Thanks again for using Scrivito!

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.44.1 Released

    Maintenance release This is a maintenance release with minor improvements. As always, we will keep you posted if there is anything interesting to report. Stay tuned! Thanks again for using Scrivito!

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.44.0 Released

    Interface Builder improvements LinkTag supports data items The LinkTag component now supports data items as navigation targets. Passing a DataItem to the to prop causes the link to point to the details page of the item concerned. Accessing current data of a specific class The useDataScope and...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.43.0 Released

    Interface builder improvements Data attributes 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...

  • Providing Data Classes with Custom Attributes

    Latest updates to edit.scrivito.com

    Defining custom attributes via the Interface Builder’s data editor The data editor now lets you add custom attributes to data classes. If, for example, you have a “Current user” data class that requires an attribute not specified in the editing configuration of this class, e.g., “email”, you can...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.42.1 Released

    Bugfixes Data integration issue > DataItem#get > no longer requires a loading context, i.e., > Scrivito.load > or > Scrivito.connect > . We apologize for any inconvenience the above issue may have caused! Thank you for using Scrivito!

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.42.0 Released

    Interface Builder improvements DataScope#limit() API method The new DataScope#limit() method determines the maximum number of data items a DataScope may contain. It returns either a number indicating this limit, or undefined if no limit is set. Introducing Scrivito.currentLanguage()...

  • Introducing the ​New Data Editor

    Latest updates to edit.scrivito.com

    > > As you may have noticed, we have been continuously refining and expanding the Interface Builder. Now the time has come for a correspondingly enhanced data editor. > > The new data editor comes with an intuitive interface that provides a visual representation of a data locator as well as...