SuiteScript 2.x Portlet Script Reference
To use a portlet script on the NetSuite dashboard, you must first create it and then deploy it. For more information, see Creating and Deploying a Portlet Script.
If you want to create a Dashboard SuiteApp Icon, see the Guidelines for Creating a Dashboard SuiteApp Icon.
See Portlet Script Samples for a sample of each type of portlet script (simple form, HTML, links, and list).