GlideNotificationV3 - Client

You can show messages over the page content.

The GlideNotification method is accessed using the g_notification global object. List V3 must be activated for the g_notification object to be available.

GlideNotificationV3 - show(String type, String message)

Displays the specified string over the page content as the specified type of message.

Table 1. Parameters
Name Type Description
type String The type of message - error, warning, or info.
Table 2. Returns
Type Description
void
// Displays an info message at the top of the screen
nowapi.g_notification.show("info", "The record has been updated");
	 
// Displays an error message at the top of the screen
nowapi.g_notification.show("error", "You need to provide notes!");