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.
Syntax
[Ok := ] Notification.Send()
Parameters
Notification
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.
Remarks
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.
Example
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;
MyNotification.Send;
See Also
Notification Data Type
Get Started with AL
Developing Extensions
प्रतिक्रिया
https://aka.ms/ContentUserFeedback.
जल्द आ रहा है: 2024 के दौरान हम सामग्री के लिए फीडबैक तंत्र के रूप में GitHub मुद्दों को चरणबद्ध तरीके से समाप्त कर देंगे और इसे एक नई फीडबैक प्रणाली से बदल देंगे. अधिक जानकारी के लिए, देखें:के लिए प्रतिक्रिया सबमिट करें और देखें