Scrivito JS SDK 1.20.0 Released – Featuring Toggle Switches

Introducing true yes/no switches

Editors can now enable or disable content properties with a single click on a toggle switch.

In addition to the enum attribute type, which allows for any number of options (e.g. the color of a button), Scrivito now also has two-valued options built in. For adding a yes/no switch, developers have the new boolean attribute type available.

Examples for yes/no properties are activating and deactivating a specific style of a widget or page, or turning page indexing on and off.

Automatically assigning a content type to uploads

As an editor uploads a file, for example a video, to the CMS using the Content Browser, an object class matching the content type of this file needs to be determined. Instead of always having a “Download” object created from such files, Scrivito now lets you register default object classes for the content types you work with. For this, the Scrivito.configureObjClassForContentType API has been made available. This method allows you to provide a mapping between content types and the respective object classes to be applied to uploaded files.

Improved page display with multi-site setups

We further improved Scrivito’s multi-site capabilities. Visitors will no longer see blank pages after content migrated to a different site has been published but not yet fully prerendered.

Scrivito provides a new API method, Obj updateReferences. It allows you to change a CMS object’s links pointing to any other CMS object. The replacement link destinations can be freely defined using a mapping function. For example, you can change all links referencing an outdated imprint so that they point to the revised version.

More great blog posts from Andreas Viebke

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.59.1 RC 1 Released

    Bugfix Release Fixed compatibility issue with React 18 > A compatibility issue that could cause a runtime error in applications using React 18 has been fixed. We apologize for any inconvenience this issue may have caused! Thank you for using Scrivito!

  • Scrivito for Rails SDK 1.20.0 RC 1 has been released

    Added support for Ruby on Rails 8.1 The Scrivito for Rails SDK now supports Ruby on Rails 8.1. It requires Ruby 3.2 or later. Earlier Rails versions are no longer supported by Scrivito. For instructions and details on updating your application to Rails 7.2, see: Ruby on Rails Guides – Upgrading...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.59.0 Released

    Improvements Anonymous data classes > If your application needs to load and cache (and maybe even create, update or delete) some internal backend data not be exposed to editors or high-level developers, you can now provide nameless data classes. > If no name is passed to provideDataClass, the...

  • Team Notifications in the Editorial Cycle

    Latest updates to edit.scrivito.com

    We recently announced email notifications in the editorial cycle, but these could only be addressed to individual reviewers, not teams. From now on, you can still request a publish from individual users, but alternatively or additionally from entire teams. For this, the “request publication”...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.58.0 Released

    Improvements Using Scrivito extensions for rendering individual properties > For extended customizability, individual attributes specified via the properties option in the editing configuration of an object class (for having them shown on the “General” tab) can now be rendered by a Scrivito...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.57.0 Released

    Improvements Widgets being edited in the sidebar are highlighted Opening the sidebar for editing a widget’s properties now highlights the selected widget. This makes it easier to identify the widget you are currently working on. Dimension picker for string values For string attribute values the...

  • What's New: Intelligent Image Analysis

    Latest updates to edit.scrivito.com

    Intelligent Image Analysis Available now for AI integration customers Managing digital assets has never been easier. Today, we’re excited to announce the launch of AI-powered image tagging in JustRelate’s Web Builder – a game-changing feature that automatically analyzes your images and generates...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.56.0 Released

    Improvements Localized “Click to edit” placeholder The “Click to edit” placeholder is now displayed in the editor’s selected language. Color picker supports transparency The color picker editor now lets editors choose transparent and semi-transparent colors directly in the Web Builder, making it...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.55.0 Released

    Improvements Color picker for string values representing a color > As a developer, you can now offer a color picker for string values representing a color to editors. Picking a color graphically directly via the Web Builder’s user interface is a lot more convenient than having to switch tools for...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.54.1 Released

    Bugfix Release Fixed TypeScript errors > This release fixes TypeScript errors related to the InPlaceEditAsPageContent component, ensuring proper typing and a better development experience. We apologize for any inconvenience this issue may have caused! Thank you again for using Scrivito!