6.12.3264

17 February 2025

New Features

Flexible Validations

In this release, the Validations dropdown has been replaced by a Validation category in the Property Grid containing three properties: "Required", "IsValid Rule", and "Error Text".

The "IsValid Rule" allows you to use expressions to validate the control's value or that of related controls. This expression can use regex or plain JavaScript.

Should the "IsValid Rule" not provide enough flexibility, you can opt to perform your validations in the scripts themselves. In the scripts, controls that allow validations have a new "IsValid" property. Set the "IsValid" property to false to fail validation for that control and show the error message underneath it - same as when the "IsValid Rule" fails.

For more information, see the Validations Cheat Sheet

Happy validating!

Standalone published applications

The "Forgot Password" functionality, previously handled by SAM, is now generated into every published application, making them standalone and able to function independently of SAM.

UserAPI: Search users by email

The users of published applications can now be searched for by either a partial or complete email address. For example, Bob returns all users whose email contains bob: [email protected], [email protected] or [email protected]. To use the search, add the email query string parameter to the FETCH ALL USERS operation https://abc.com:8443/MyApp/api/users?key=<key>&email=bob

Improvements

  • CSS improvements are:

    • Replaced SASS variables with CSS variables

    • Added new CSS variables to improve customisation options

    • Added selected CSS utility classes to the main stylesheet

    • Reduced DataGrid CSS selector specificity to make style overriding easier

    • Various other CSS bug fixes and improvements

  • Improved the performance of renaming script parameters in the Designer

Bug fixes

Designer

  • Fixed several bugs caused by copy-pasting a page. One of the issues resolved was the loss of references after the page was pasted.

  • ArgumentNullException was thrown with the message: [Value cannot be null. (Parameter 'propertyName')]

  • MapItems lost the "=" when a connector was re-imported

  • The Help button in the Styles editor for the "Instances (ids)" navigated to a non-existent page. This URL has been fixed.

Server

  • Publish Wizard: The Cancel button on the "Overwrite" message did not work

  • SAM: When publishing an application, the user was not shown a "Generating..." message before the "Overwrite" message.

  • Config setting "NumberSeparator" can now be set to an empty string, i.e. <add key="NumberFormat" value="" />

Last updated

Was this helpful?