N/ui/dialog Module
Use the N/ui/dialog module to create a modal dialog that persists until a button on the dialog is pressed.
Important:
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.
For code samples using the N/ui/dialog module, see N/ui/dialog Module Script Samples.
In This Help Topic
N/ui/dialog Module Members
Member Type |
Name |
Property Type / Method Return Type |
Supported Script Types |
Description |
---|---|---|---|---|
Method |
Promise |
Client scripts |
Creates an Alert dialog with an OK button. |
|
Promise |
Client scripts |
Creates a Confirm dialog with OK and Cancel buttons. |
||
Promise |
Client scripts |
Creates a dialog with specified buttons. |