Help / WLanguage / WLanguage functions / Web-specific functions / Browser functions
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
NotificationDisplay (Function)
In french: NotificationAffiche
Displays a message outside the browser.
A browser can display information outside its window. For example, a browser in Windows can display a notification for incoming emails at the bottom right of the desktop. The information will be shown even if the browser is minimized.
// Displays a message outside the browser
NotificationDisplay("Messaging""New incoming email", ...
NotificationDisplay(<Title> , <Message> [, <Image>])
<Title>: Character string
Title of the message displayed. If this parameter corresponds to an empty string (""), the title will not be displayed.
<Message>: Character string
Message to display in the notification.
<Image>: Optional character string
Image of the message displayed.
In a dynamic page, if the image is found in the "_WEB" directory of the project, you must specify the virtual path of this directory, by using FolderWeb for example. For example: FolderWeb() + "MyImage.gif".
  • Notifications must be enabled on Windows on the user's computer. Otherwise, the notification will not be displayed.
  • The notifications are not supported by some browsers. If the browser does not support notifications, the notification will not be displayed.
  • If notifications are not allowed, an authorization request will be displayed in the browser.
    Caution: If NotificationDisplay is called from a button that executes server code, the browser's notification permission request will be deleted when the page is refreshed: therefore, the user will not be able to allow notifications.
Component: WDJS.DLL
Minimum version required
  • Version 19
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help