Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace LfMetadataValidationUtils

Index

Functions

  • evaluateNumericValidationExpression(value: string, numericConstraint: string): boolean
  • Given a string representing a Laserfiche numeric field, and a check constraint, determines if the numeric field satisfies the constraint

    example
     evaluateNumericValidationExpression('1000', '>=1000 &  <=9999');  // true
    evaluateNumericValidationExpression('100000', '>=1000 & <=9999'); // false

    Parameters

    Returns boolean

    true if value satisfies the numeric constraint

  • formatTextConstraint(textConstraint: string): string

Generated using TypeDoc