check this macro
[TABLE=“cellpadding: 0, cellspacing: 0”]
[TR]
[TD]sc_apl_default(‘application’, ‘type’);[/TD]
[/TR]
[TR]
[TD] [TABLE]
[TR]
[TD]This macro allows that the user defines in your initial application what will happen when the application lost the session.
The macro has the following parameters:
Apl: Here it is necessary to inform which application the macro will redirect after lost the session.
Type: Here we will inform the redirecting type that will occur. There are two types:
- [B]R[/B]: The application will only redirect to the initial application.
- [B]M[/B]: Will be shown a message before the redirecting.
Example: In a login application defined as the initial application, we can define that this application will redirect to himself.
sc_apl_default(“app_login”,“R”)[/TD]
[/TR]
[/TABLE]
Macro Scope [TABLE="cellpadding: 0, cellspacing: 0"]
[TR]
[TD]calendar application[/TD]
[TD]chart application[/TD]
[TD]Grid application[/TD]
[TD]Search application[/TD]
[TD]Form application[/TD]
[TD]Control Form[/TD]
[TD]ReportPDF application[/TD]
[/TR]
[TR]
[TD=“width: 120px”]onCalendarScriptInit
onScriptInit[/TD]
[TD=“width: 120px”]onScriptInit[/TD]
[TD=“width: 120px”]onScriptInit[/TD]
[TD=“width: 120px”]onFilterInit[/TD]
[TD=“width: 120px”]onScriptInit[/TD]
[TD=“width: 120px”]onScriptInit[/TD]
[TD=“width: 120px”]onScriptInit[/TD]
[/TR]
[/TABLE]
[/TD]
[/TR]
[/TABLE]