Scrivito JS 1.9.0 Released – Featuring Refined Content Validation

Improvements

Finer grained content control through validation levels

In version 1.7 of the Scrivito SDK, we introduced validations, a means for programmatically checking whether content meets specific requirements. The consequence of a single failing validation was that the working copy could not be published until the error was fixed. However, we and some of our customers noticed that some content-related peculiarities are just that, far from critical, so we complemented validation errors with two more severity levels, warnings and informational messages.

When defining a validation, a failing check can now be categorized as error, warning or info, with error being the default (the latter means that existing validations still work). To editors, severity levels are indicated by colors and labelled sections on the notifications sidebar. For further details, take a look at our Overview of Scrivito’s Content Validation.

We hope, you find this extension as useful as we do.

Validation messages for custom components

When providing editors with custom editing tools, for example in properties dialogs, Scrivito can still validate the respective content but cannot display the validation results because such components aren't under its control. This is where the new validationResultsFor function comes into play. It allows developers to render the messages returned by the validation function.

Improved up-to-dateness of prerendered content

Scrivito’s prerendering improves the loading speed of your web application – for a better visitor experience. For covering rapid changes to the published content, Scrivito.updateContent is now available. If called in the app’s startup phase, this function updates the content to prerender causing the first meaningful paint to be in sync with the published content again.

Determining the creation date of a CMS object

CMS objects now expose their creation date. To retrieve this date, the createdAt instance method is available, allowing you, for example, to output Dublin Core metadata for “Date Created”.

Bugfixes

  • In HTML markup, links pointing to PDF files are no longer replaced with garbage when editing the text again.

  • The edit mode switch is displayed correctly in all browsers

    With Chrome 76, the editing mode buttons at the center of the top bar are now properly aligned again.

More great blog posts from Andreas Viebke

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.33.0 RC 3 Released

    Featuring placeholders for data items

    Weaving data into website content using placeholders Editors can now insert placeholders representing specific pieces of data into textual website content, e.g., for personalization purposes. When the website is then visited, these placeholders are dynamically replaced with data provided by the...

  • Working More Easily with Widget Properties

    Latest updates to edit.scrivito.com

    Editing widget properties on the sidebar For more convenience and uniqueness, the properties of any widget can now also be edited on the sidebar after clicking the “Widget properties” menu item of the widget concerned. The editing interface uses the sidebar that originally was dedicated to the...

  • Comparing Any Published Content Versions from the Publishing History

    Latest updates to edit.scrivito.com

    Selecting the published content versions to compare The publishing history now lets you compare pages in any version of the published content with the corresponding page in any other version. Several of our customers had asked for this to be made possible. In more detail, determining the changes...

  • Working more Easily with Websites

    Latest updates to edit.scrivito.com

    Improved “Sites” sidebar The “Sites” sidebar panel is now clearer, so you can more easily access the language versions of the currently selected website. The order of the language groups in the “All Sites” section is now fixed, which makes it easier to navigate the list and pick a site. The...

  • Switching to Neoletter Made Easy

    Latest updates to edit.scrivito.com

    Switching to Neoletter made easy The Scrivito editing interface now features a sidebar button for conveniently opening the Neoletter UI associated with the Scrivito CMS concerned. Thank you for using Scrivito! Please let us know what you would like to see improved.

  • Introducing the JustRelate Console

    Easier and Unified Account Management

    As a Scrivito customer, you will know of – or even have already used – the website-specific “Users” section on the Dashboard at my.scrivito.com that authorized users can access in order to invite people as editors, for example. We are discontinuing this user management section as we’ve replaced...

  • Selecting all changes in a working copy

    Latest updates to edit.scrivito.com

    Selecting all changes in a working copy Selectively publishing changed content has become more efficient in situations where an editor needs to move all or almost all pieces of content to a different working copy. For example, if you need to publish just a couple of pages and move the majority of...

  • Absolute and Relative Date Values

    Latest updates to edit.scrivito.com

    Selectable date display format Editors can now choose whether dates such as the publishing date of working copies in the “History” sidebar are displayed as absolute or relative values, e.g., as “Feb 23, 2023, 11:15 AM” or “Three days ago”, respectively. For this, a corresponding item was added to...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.32.0 Released

    Featuring edit.scrivito.com as the only ​editing interface

    SDK uses edit.scrivito.com exclusively Scrivito’s always up-to-date editing interface, edit.scrivito.com, is now always used for editing. It lets editors benefit from improvements from the moment they are made available. If your app already uses edit.scrivito.com, you can skip this point, of...

  • Advanced Date and Time Editing

    Latest updates to edit.scrivito.com

    After receiving feedback from power users, we’ve extended the date and time editing options. Manual date input Some editors need to provide many dates in their daily work. For these users, pointing and clicking again and again becomes tiresome after a while. With the new option to specify a date...