SuiteScript 2.x Portlet Script Entry Points and API
The portlet script type has one entry point, render(params) which renders (or displays) a portlet object on the NetSuite dashboard.
Portlet objects are used to encapsulate scriptable dashboard portlets. A portlet object is defined in a Portlet Object, which defines columns, fields, lines, and rows, along with parameters and an optional submit button. For more information about the Portlet Object, see the following help topics: