GlideNotification - Client

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 03월 12일
  • 소요 시간: 2분
  • The GlideNotification API provides methods that display messages over the page content.

    Access this API using the g_notification global object. List V3 must be activated for the g_notification object to be available.

    GlideNotification - show(String type, String message, Number duration)

    Displays the specified string over the page content as the specified type of message. When the duration timer expires, the message is removed.

    주:
    When using this method in a scoped application, you must specify the associated namespace nowapi. For example, nowapi.g_notification.show("info", "The record has been updated", 10000);
    표 1. Parameters
    Name Type Description
    type String Type of message to display.
    Valid values:
    • error
    • info
    • warning
    message String Message to display.
    duration Number Optional. Amount of time to display the message.

    Unit: Milliseconds

    Default: 5,000

    표 2. Returns
    Type Description
    void
    // Displays an info message at the top of the screen
    g_notification.show("info", "The record has been updated", 10000);
    	 
    // Displays an error message at the top of the screen in a scoped app
    nowapi.g_notification.show("error", "You need to provide notes!");