Scrivito 1.5.0 Release Notes

Improvements

Editors now have access to the target property of link and linklist fields, making it possible to specify whether a link should be opened in a new window. Note that your app needs to render this property for it to have an effect:

Finding associated content

There are two new search operators, links_to and refers_to that let you find CMS objects linking to or referencing specific CMS objects.

links_to

links_to is a workhorse that searches all attributes able to handle links or references, including those contained in widgets. You can use it, for example, to determine whether an image that has been uploaded is included anywhere in your content, or in pages of a specific type:

Of course, links_to can be used for more than just that. You can also, for example, determine the pages that are or aren't linked by other pages, etc.

refers_to

The refers_to operator, on the other hand, is specialized in finding the CMS objects referencing specific objects via a specific reference or referencelist attribute. So object associations established using attributes of these types are no longer unidirectional but bidirectional, making it possible to implement all those use cases in which reverse lookups are required. For example, in a setting in which blogposts are equipped with a referencelist attribute for associating them with one or more authors represented as individual CMS objects, you can now look up the blogposts that were (co)produced by a specific author:

This principle can be transferred to all cases in which one-to-many or many-to-many associations need to be modelled, e.g. products and the parts they consist of, employees and the departments they work for, etc.

Changelog

The changelog reflects minor improvements and bugfixes that were made in addition to the changes listed above.

Details

Minor improvements

  • There is a new template helper, scrivito_widget_tag, that can be used in the “show.html.*” template of widgets to specify additional attributes (including CSS classes) for the widget tag.
  • The Content Browser now lets you upload files to the “Last added” section.
  • We updated MediumEditor to version 5.21.0.
  • We reimplemented how values are stored during in-place editing. The values are now sent directly to the Scrivito SDK and no longer via a proxy controller. This makes Scrivito even faster and lays the foundation for new features.

    Bugfixes

      • It is now possible to use a falsy value option in the filter configuration of the Content Browser. You can, for example, set a filter value for an attribute to null to find only CMS objects where this attribute is empty.
      • The search cache now distinguishes between value types. Previously, searching for the value 23 (Integer) and the value “23” (String) yielded the same result from the cache.
      • We fixed a bug that sometimes caused duplicated widgets to have outdated content.

        More great blog posts from Andreas Viebke

        • Scrivito Enterprise CMS - Product Illustration

          Scrivito JS SDK 1.40.0 Released

          Improvements Intermediately rendered components during loading time Scrivito.provideComponent now lets you give proper feedback to the visitor in cases where the actual component that is provided requires some time to load and render itself. This usually short time gap can now be bridged by...

        • Scrivito Enterprise CMS - Product Illustration

          Scrivito JS SDK 1.39.0 Released

          Improvements Enhanced data classes The Scrivito SDK now offers all attributes of a data class as placeholders for its instances, unless configured otherwise via the editing configuration. > As a developer using > Scrivito.provideDataClass > to load external data, you can now also return IDs of...

        • Bienvenue sur Scrivito !

          Latest updates to edit.scrivito.com

          Bienvenue sur Scrivito ! For all you French-speaking users, the Scrivito editing interface is now also available in your language. In addition to dialogs and buttons in French, input fields for page and widget properties have support for locale-specific calendar labels and French number...

        • Scrivito Enterprise CMS - Product Illustration

          Scrivito JS SDK 1.38.0 Released

          Improvements Accessing the current user’s picture The Scrivito.currentEditor API now seamlessly integrates with IAM, allowing developers to access the picture URL associated with the current editor’s IAM profile. Easier attribute type migration There are situations in which a developer needs to...

        • Creating and Linking a Details Page

          Latest updates to edit.scrivito.com

          > After introducing details pages for data items in version 1.36.0 of the Scrivito SDK, the editing interface now offers you to create such a page for a given data class directly from within a data item. If, for example, you have a card widget in your data list widget, and this card widget has a...

        • Scrivito Enterprise CMS - Product Illustration

          Scrivito JS SDK 1.37.0 Released

          Improvements Updating data items using custom logic By defining the update callback of Scrivito.provideDataItem , you can now smoothly update data items using your own logic. This gives you greater control and flexibility in managing your data within your Scrivito app. Prerendering fails early...

        • Scrivito Enterprise CMS - Product Illustration

          Scrivito JS SDK 1.36.1 Bugfix Release

          This release fixes a bug found in version 1.36.0 of the Scrivito JS SDK: Under certain conditions, the renderChild prop of Scrivito.ChildListTag received an argument that was not a child object. This could lead to unexpected app crashes. We apologize for any inconvenience this may have caused!

        • Managing Users and Teams in the JustRelate Console

          Latest updates to edit.scrivito.com

          Scrivito’s user management has moved to the Console After introducing the JustRelate Console in April this year and announcing that authorized Scrivito users would be able to manage their account’s users and teams there, we finally did it: Clicking “Manage users” in the main menu now opens a new...

        • Scrivito JS SDK 1.35.1 Bugfix Release

          Bugfixes All API keys now work properly in Node.js environments In the Scrivito JS SDK, version 1.35.0, we added support for private API keys in a Node.js environment. Due to an encoding error when passing the credentials to the Scrivito backend, some keys didn’t grant access to restricted...

        • Scrivito Enterprise CMS - Product Illustration

          Scrivito JS SDK 1.36.0 Released

          Introducing data details pages

          In an earlier Scrivito JS SDK release, we introduced data lists for seamlessly integrating not only individual data items but also collections of such items into your Scrivito app. Now, we are happy to present an even more powerful feature for data integration: Data details pages that can display...