Skip to content

Latest commit

 

History

History
47 lines (34 loc) · 1.42 KB

devenv-onclosepage-page-trigger.md

File metadata and controls

47 lines (34 loc) · 1.42 KB
title description ms.author ms.date ms.topic author ms.reviewer
OnClosePage (Page) Trigger
Runs when a page closes after the OnQueryClosePage trigger is run.
solsen
05/14/2024
reference
SusanneWindfeldPedersen
solsen

OnClosePage (Page) Trigger

Version: Available or changed with runtime version 1.0.

Runs when a page closes after the OnQueryClosePage trigger is run.

Syntax

trigger OnClosePage()
begin
    ...
end;

Remarks

Important

The trigger is only invoked when the page is hosted in a modal popup window (MPO).

This trigger is initiated by a user action, such as when the user chooses the Close button, or by the CurrPage.CLOSE being called.

You can write to the database from this trigger.

See Also

Get Started with AL
Developing Extensions
OnClosePage (Request Page) Trigger
OnClosePage (Request Page Extension) Trigger
OnClosePage (Page Extension) Trigger