NEW4.00.03 · Released 27 September 2023
NEWfinPOWER Connect
Released in
4.00.03
27 September 2023
  1. Opened8 Jun
  2. Closed5 Jul
  3. Released27 Sep
Article 20411 Job J031264

Validation functions; IsValidUri() function added

The following Business Layer function has been added:

  • finBL.Runtime.Validation.IsValidUri(URI, Message, Scheme, AllowBlank)
    • URI is the URI you want to check, e.g. "https://www.intersoft.co.nz"
    • Message returns the error message if the validation fails
    • Scheme is an optional ByRef parameter that will return the Uri scheme if provided
      • e.g. "http", "https", "ftp"
    • If AllowBlank is True then the function will return True if URI is blank
      • Optional parameter; defaults to False
  Dim Message As String
  Dim Scheme As String
  Dim Success As String
  Dim URI As String
  
  URI = "https://www.intersoft.co.nz"
  
  Success = finBL.Runtime.Validation.IsValidUri(URI, Message, Scheme, True)