Selecting Start Object and Event Handler

A start object and event handler can be selected on the Advanced Settings page in the business application creation wizard:

To open the wizard

Set the parameters in the sections:

The example of unit:

Public Class BusinessApplicationEvents1: BusinessApplicationEvents
    Public Sub OnAfterLogin(BP_IDENT: string);
    Begin
        Debug.WriteLine("OnAfterLogin");
    End Sub OnAfterLogin;
End Class BusinessApplicationEvents1;

NOTE. Event handling can be set up for various objects, for example, in regular reports.

To save the determined settings, click the Save button.

After selecting the start object and event handler open the business application in the web browser.

See also:

Building Business Application in the Web Application | Working with Ready Business Application