The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.

SCOPE Method (Notification)

Specifies the context in which the notification appears in the client.




Type: NotificationScope

The parameter has the following values:

Value Description
LocalScope The notification appears in context of the user's current task, on the page the user is currently working on. This is the default value.
GlobalScope The notifications are not directly related to the user's current task. Note: GlobalScope is currently not supported, so do not use this value.

Return Value


Type: NotificationScope

The scope of the current notification.


For more information and a detailed example, see Notifications.


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

MyNotification.MESSAGE := 'This is a notification';
MyNotification.SCOPE := NOTIFICATIONSCOPE::LocalScope;

See Also

SCOPE Method(Notification)
SEND Method (Notification)
Multilanguage Development