OnBeforePageIsBlacklisted Event
Codeunit Functions Blacklist Mgt
Triggered before a page is checked for being blacklisted.
This event can be used to override the default behavior of the blacklisting of pages.
If IsBlackListed is set to true, the page is considered blacklisted and cannot be used with Eagle and a generic error is shown.
To show a custom error message, call the Error()
function.
Signature
[IntegrationEvent(false, false)]
OnBeforePageIsBlacklisted(PageNo: Integer; var IsBlackListed: Boolean; var IsHandled: Boolean)
Parameters
PageNo
Integer
The page number.
var IsBlackListed
Boolean
Set to true if the page is blacklisted and a default error message should be shown.
var IsHandled
Boolean
Set to true if the event handler has handled the event and the default blacklist behavior should be skipped. The IsBlackListed will set the behavior.
This documentation is generated from Eagle v27.0