N/ui/message Module
Use the N/ui/message module to display a message at the top of the screen under the menu bar.
SuiteScript does not support direct access to the NetSuite UI through the Document Object Model (DOM). The NetSuite UI should only be accessed using SuiteScript APIs.
In This Help Topic
N/ui/message Members
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Object |
void |
Client scripts |
Encapsulates the Message object that gets created when calling the message.create(options) method. |
|
Method |
Client scripts |
Creates a message that can be displayed or hidden near the top of the page. |
||
Enum |
enum |
Client scripts |
Indicates the type of message to create and display, which specifies the background color of the message and other message indicators. |
Message Object Members
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Method |
void |
Client scripts |
Hides the message. |
|
void |
Client scripts |
Shows the message. |