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.
Instance methods
The following methods are available on instances of the Notification data type.
Method name | Description |
---|---|
AddAction(Text, Integer, Text) | Specifies an action for the notification. |
AddAction(Text, Integer, Text, Text) | Specifies an action for the notification. |
GetData(Text) | Retrieves data that was passed to a notification instance as specified by a SETDATA method call. |
HasData(Text) | 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([Text]) | 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(Text, Text) | Specifies a data property value for the notification. The data is specified as text in a key-value pair. |