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 quickly select object in the Unit and Object lists, enter its name/identifier/key in the search box depending on display settings. Search is executed automatically while the searched text is entered into the search string. The list will display the objects, which names/identifiers/keys contain the entered text.

To set up displaying of repository objects in the Unit and Object lists, click the Display Object button and select display option in the drop-down menu:

Several options can be selected. Identifier and key will be specified in brackets.

To reset selection of the selected objects, click the Clear button.

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