Notification Data Type

Version: Available or changed with runtime version 1.0.

Provides a programmatic way to send non-intrusive information to the user interface (UI) in the Business Central Web client.

The following methods are available on instances of the Notification data type.

Method name Description
AddAction(String, Integer, String) Specifies an action for the notification.
GetData(String) Retrieves data that was passed to a notification instance as specified by a SETDATA method call.
HasData(String) Checks if data was passed to a notification instance as specified by a SETDATA method call.
Id([Guid]) Specifies the identifier for a notification.
Message([String]) Specifies the content of the notification.
Recall() Recall a sent notification.
Scope([NotificationScope]) Specifies the context in which the notification appears in the client.
Send() Sends the notification to the client, where it will display in the UI.
SetData(String, String) Specifies a data property value for the notification. The data is specified as text in a key-value pair.

See Also

Notifications
Getting Started with AL
Developing Extensions