Call the interface to register a new event handler callBind

BX24.callBind(
            String event,
            String handler[
                Integer auth_type[
                    Function callback
                ]
            ]
        );
        

This interface is for the method event.bind, which registers a new event handler.

Note

Works only when authorized as a user with portal administration rights.

Parameters

Required parameters are marked with *

Name
type

Description

event*
string

Event name

handler*
string

Link to the event handler

auth_type
integer

Identifier of the user under which the event handler is authorized. By default, the authorization of the user whose actions triggered the event will be used

callback
function

Function to handle the result of the method call

Example

BX24.callBind('OnAppUninstall', 'http://www.my-domain.com/handler/');
        

How to Use Examples in Documentation

Continue your exploration