Unsupported standard class objects

These four standard class objects are unsupported:

  • Contextinformation

  • Classdefinition

  • Scriptdefinition

  • Variabledefinition

Recommendation: Avoid referring to the following object functions, this can reduce the impact on the functionality:

  • pfcmain.pbl\pfc_w_master\of_setresize

  • pfcapsrv.pbl\pfc_n_cst_security\of_setsecurity

  • pfcapsrv.pbl\pfc_n_cst_metaclass\of_findmatchingevent

  • pfcapsrv.pbl\pfc_n_cst_metaclass\of_findmatchingvariable

  • pfcapsrv.pbl\pfc_n_cst_metaclass\of_getancestorclasses

  • pfcapsrv.pbl\pfc_n_cst_metaclass\of_isfunctiondefined

  • pfcapsrv.pbl\pfc_n_cst_metaclass\of_iseventimplemented

  • pfcapsrv.pbl\pfc_n_cst_metaclass\of_iseventdefined

  • pfcapsrv.pbl\pfc_n_cst_metaclass\of_isancestorclass

If you really need to use Classdefinition, try to use the following workaround:

Original script:

lb_defined = inv_metaclass.of_isFunctionDefined &
(lpo_tocheck.ClassDefinition, "of_PostUpdate", ls_args)

Modified script:

If lpo_tocheck.TriggerEvent("pfc_descendant") = 1 Then
 lb_defined = True
Else
 lb_defined = False
End if