Common parameters of business application can be set up on the Common Parameters page of the designer of business applications.
Set the parameters:
Application Name. Rename the business application if required.
Description. Enter text description of the business application.
Handler. Set up event handler:
Unit. In the drop-down list select a Fore unit to execute an operation when a specific event occurs. For example, when a specific event occurs, an information message should be displayed. The unit is processed on opening the business application and is tailored to needs of a certain application project to enhance its functionality. The unit should be first created and added to internal structure of business application.
The example of unit:
Public Class BusinessApplicationEvents1: BusinessApplicationEvents
Public Sub OnAfterLogin(BP_IDENT: string);
Begin
Debug.WriteLine("OnAfterLogin");
End Sub OnAfterLogin;
End Class BusinessApplicationEvents1;
Class. In the drop-down list select a class inherited from the BusinessApplicationEvents class and that implements its events. It is set by an application developer in the Fore unit.
NOTE. Event handling can be set up for various objects, for example, in regular reports.
Start Object. In the Object drop-down list select the object shortcut in the navigation structure, which contents will be displayed on opening the business application in the web interface. A start object can be:
To save the specified settings, click the Finish button. After the button is clicked, the designer closes.
After setting up common parameters create or edit internal structure of business application in the object navigator. If the business application is opened for edit, set up layout and formatting.
See also:
Building Business Application in the Desktop Application | Creating an Internal Structure | Setting Up Layout and Formatting