

LocalScope is the default.Ī GlobalScope notification is not directly related to the current task, and will appear regardless of which the page the user is viewing. There are two different scopes: LocalScope and GlobalScope.Ī LocalScope notification appears in context of the user's current task, that is, on the page the user is currently working on. The scope determines where the notification is broadcast in the client.

The Send method call should be the last statement in the notification code, after any AddAction or SetData method calls for the notification instance. MyNotification.Message := 'This is a notification' When the Send method is called, the notification is sent to the client and content of the message is displayed. The Message method defines the message part of the notification. You create a notification by using the Message and Send methods. Gets a data property value from the notification. Sets a data property value for the notification Sends the notification to be displayed by the client. Specifies the scope in which the notification appears. Specifies the content of the notification that appears in the UI.
Mynotes saascom how to#
The sections that follow provide additional information about how to create notifications. The following table provides an overview of the available methods.
Mynotes saascom code#
Notifications in the development environmentīy using the Notification and NotificationScope data types and methods in AL, you can add code to send notifications to users.

Their purpose is to give users information about a current situation, but do not require any immediate action or block users from continuing with their current task. On the other hand, notifications are non-modal. Messages are modal, which means users are typically required to address the message and take some form of corrective action before they continue working. Notifications differ from messages initiated by the Message method. Notifications provide a programmatic way to send non-intrusive information to the User Interface (UI) in the Web client.
