Portlet scripts are run on the server and are rendered in the NetSuite dashboard. The following portlet types are supported:
- Simple Form – A data entry form that can include a submit button embedded into a portlet. This type supports the N/portlet module that can refresh and resize the portlet, as well as use record-level client script to implement validation.
- Inline HTML – An HTML-based portlet that is used to display free-form HTML such as images, Flash, and custom HTML.
- Links and Indents – A portlet that consists of rows of formatted content.
- Simple List – A standard list of user-defined column headers and rows.
You can make the portlet script available as a SuiteApp portlet or as a custom portlet.
- Dashboard SuiteApp Portlet – You can designate that a portlet script should be used for a SuiteApp portlet. A SuiteApp portlet is a specialized type of custom portlet that provides direct access from users’ dashboards to a SuiteApp installed in their account. This type of script is called a Dashboard SuiteApp portlet script. If a Dashboard SuiteApp portlet script is included in a SuiteApp, a user can add a SuiteApp portlet to their dashboard from the SuiteApps tab of the Personalize Dashboard menu.
- This type of portlet is supported for installed SuiteApps that include a dashboard component. A SuiteApp portlet script not only provides content for SuiteApp portlets. It also enables you to include your choice of graphics as branding for the icons that are shown for SuiteApp portlets in the Personalize Dashboard window.
Custom Portlet – To view content produced by a portlet script that is not intended for a SuiteApp portlet, a user must add a custom portlet to their dashboard and select the script in the portlet setup.