SuiteScript 2.x UI Modules
There are three API modules are available for building a custom UI using SuiteScript 2.x:
-
N/ui/serverWidget
The serverWidget module contains the UI components used to work with user interfaces in NetSuite. This module is used to create custom pages, forms, lists and widgets that have the NetSuite look-and-feel.
For more information, see N/ui/serverWidget Module.
-
N/ui/message
The message module is used to display and manage messages at the top of your User Interface.
For more information, see N/ui/message Module.
-
N/ui/dialog
The dialog module is used to create modal dialog boxes that can be used to present additional options or alerts. This module uses JavaScript promises to manage dialogs asynchronously.
For more information, see N/ui/dialog Module.