message.Message

Object Description

The Message object that gets created when calling the message.create(options) method.

For a complete list of this object’s methods, see Message Object Members.

Supported Script Types

Client scripts

For more information, see SuiteScript 2.x Client Script Type.

Module

N/ui/message Module

Since

2016.1

Syntax

Important:

The following code snippet shows the syntax for this member. It is not a functional example. For a complete script example, see N/ui/message Module Script Sample.

            //Add additional code 
...
    var newMsg = message.create({
        title: "New Message Title", 
        message: "This is an new informational message", 
        type: message.Type.INFORMATION
    });

    //newMsg is the message.Message object created
    ...
//Add additional code 

          

Related Topics

General Notices