Scrivito JS SDK 1.34.0 Released

Featuring data lists with placeholders

Placeholders in lists

In the previous Scrivito JS SDK release, we had introduced placeholders as a means to incorporate personalized data into textual content. Building upon that, we are excited to announce that in this release, we have expanded the functionality of placeholders so that they can be used in lists. This enhancement empowers editors to effortlessly style a list by defining a “template” that is applied to each list item. In this template, placeholders are dynamically replaced with the corresponding actual data.

This functionality is achieved by means of a new Scrivito.ContentTag prop, dataContext, also introduced in this release.

The JustRelate Console uses data lists with placeholders

Data lists

Another new feature in our previous release was the provideDataItem API that lets you retrieve specific data from a backend service. This includes fetching information such as the current user’s name and other personal details.

Now, we are happy to present an even more powerful API to you, provideDataClass. With this addition for retrieving data from backend services, you can now seamlessly integrate not only individual data items but also collections of multiple data items into your Scrivito app, e.g., user-specific data lists such as “my orders” or “my bills”. This combined with the “Placeholders in lists” feature gives editors the flexibility to design and customize these lists using placeholders.

Further improvements

  • Provided components are always rendered

    Scrivito.provideComponent and Scrivito.provideLayoutComponent now rerender the component when they are called again. This helps with “Hot Module Replacement” (HMR) in vite and “Hot reloading” in parcel for Scrivito components.

  • Improved click handling

    In-place editing is now better aligned with app-defined click handling. Developers no longer need to work around propagated (“bubbling”) clicks for elements that are clickable and editable at the same time, e.g. an ImageTag wrapped in a LinkTag, or a button with an editable label.

  • The HTML in-place editor now lets you create relative links containing “@” characters in their path. Such links were previously interpreted as email addresses.

  • Better control over prerendering

    Scrivito.updateContent() now returns a promise that resolves once the content update is complete. Scrivito developers can use this to assert that the latest content is cached before prerendering is triggered. This is especially useful in projects in which prerendering is applied frequently.

Thanks again for using Scrivito!

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!