Handler: IMetabaseObjectDescriptor;
The Handler property determines the web form that will be used to handle an operation.
As a property value, specify description of a web form. If the web form is connected to handle an operation, the additional parameter OnShow(Args: ISortedList) can be connected to the form's event handler that is OnShow. The elements with the following keys will be available in arguments of the Args event on executing the operation:
Values. It contains values of the parameters sent for operation execution. Value type - IMetabaseObjectParamValues.
Descriptor. Description of the custom class object, for which operation is executed. Value type - IMetabaseObjectDescriptor.
Operation. Name of executed operation. Value type - String.
The OPEN and EDIT operations must always be handled on the web form. The web form is not used to handle the PASTE and DELETE operations. These operations are handled using the system mechanism of work with repository objects; one can also execute additional operations in custom class.
The web form is not used by default, and after executing the operation the corresponding method is searched in the class specified in the IMetabaseCustomClass.ImplementationCoreClass property.
The property use is given in the example for IMetabaseCustomClass.OperationsWeb.
See also: