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

  • Your Profile Image on the Sidebar

    Latest updates to edit.scrivito.com

    Logged-in editors can now see their profile image If you have added a profile picture to the IdP (identity provider) account you use to log in, it is now displayed on the sidebar instead of your initials. For example, if you log in with your enterprise account, Scrivito uses the image from your...

  • Scrivito Enterprise CMS - Product Illustration

    Scrivito JS SDK 1.35.0 Released

    This release introduces multi-line editing for string attributes, and improves several development-related aspects, also in the context of Node.js. Improvements Multi-line editing for string attributes As a developer, you can now enable multi-line editing for string attributes in the “Properties”...

  • Scrivito Enterprise CMS - Product Illustration

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