2022 April Release

Customization Point FSCCONFIG@1.1001:CPValidationExpressions Permanent link for this heading

This customization point is used for the validation of an entered value. The customization point gets evaluated in the MethodValidateSet method, which can be called in the AttrValidateSet action. The local scope contains the current object and the global scope contains a dictionary with the old value and the new value.

Example:
customize CPValidationExpression<User, DialogUserPasswordForgot, objname> {
  cfgexpression = expression {
    return true;
  }
  errorobject = ErrActivateUserFound;
}

object FSCCONFIG@1.1001:CPValidationExpressions(
  key ObjectClass cfgobjclass,
  key object trigger,
  key optional object context,
  out retval string[] cfgexpression,
  out retval direct object errorobject)

Name

Description

cfgobjclass

applies to objects of the defined object class

trigger

the key for the evaluation of the output parameter

context

the optional key for the evaluation of the output parameter

cfgexpression

if this expression returns true, the error (errorobject) is displayed (alternatively, the expression itself can display an error)

errorobject

the error message that is displayed in case of an error

Additional Information