Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn moreThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Version: Available or changed with runtime version 1.0.
Runs after a page is initialized and run.
trigger OnOpenPage()
begin
...
end;
This trigger is executed after the OnInit Trigger.
You use the OnOpenPage trigger to change dynamic properties, including those which can only be changed when the page is opened, such as the Visible Property. You can also write to the database from the trigger.
The OnOpenPage trigger is the only trigger that can toggle the Visible Property and the property can only be toggled on columns.
If an error occurs in the trigger execution, then the page closes.
Note
If you use the LockTable Record in the OnOpenPage trigger, then the table lock will be released when the trigger completes execution and not when the user closes the page.
Note
The OnOpenPage trigger does not support calls to control add-in methods and properties because the trigger is invoked before the page is instantiated.
Get Started with AL
Developing Extensions
OnOpenPage (Page) Trigger
OnOpenPage (Request Page) Trigger
OnOpenPage (Request Page Extension) Trigger
Events
Power BI DataViz World Championships
Feb 14, 4 PM - Mar 31, 4 PM
With 4 chances to enter, you could win a conference package and make it to the LIVE Grand Finale in Las Vegas
Learn more