Notification.Send() Method

Version: Available or changed with runtime version 1.0.

Sends the notification to the client, where it will display in the UI.


[Ok := ]  Notification.Send()


 Type: Notification
An instance of the Notification data type.

Return Value

[Optional] Ok
 Type: Boolean
true if the notification was sent; otherwise false If you omit this optional return value and the operation does not execute successfully, a runtime error will occur.


The Send method displays the content of the notification that is specified by the Message Method.

For more information and a detailed example, see Notifications.


The following code creates a notification and sends it to the client in the local scope.

MyNotification.Message := 'This is a notification';
MyNotification.Scope := NotificationScope::LocalScope;

See Also

Notification Data Type
Get Started with AL
Developing Extensions