Portlet Object
Portlet objects are used to encapsulate scriptable dashboard portlets. They are automatically passed to the render(params) entry point by NetSuite. For more information, see render(params).
Simple Form Portlet Object Members
These members are only available to Form Portlet objects.
Member Type |
Name |
Return Type / Value Type |
Description |
---|---|---|---|
Method |
Adds a field to the form. |
||
Adds a submit button to the form. |
|||
Property |
number or string |
The script file ID to be used in the portlet. Can be in either numerical or string format. |
|
string |
The script path to be used in the portlet. |
||
string |
The title of the portlet. |
Inline HTML Portlet Object Members
These members are only available to HTML Portlet objects.
Member Type |
Name |
Return Type / Value Type |
Description |
---|---|---|---|
Property |
string |
The complete HTML contents of the portlet. |
|
string |
The title of the portlet. |
Links and Indents Portlet Object Members
These members are only available to Links Portlet objects.
Member Type |
Name |
Return Type / Value Type |
Description |
---|---|---|---|
Method |
Object |
Adds a line to the portlet. |
|
Property |
string |
The title of the portlet. |
Simple List Portlet Object Members
These members are only available to List Portlet objects.
Member Type |
Name |
Return Type / Value Type |
Description |
---|---|---|---|
Method |
Adds a column to the portlet. |
||
Adds an Edit or Edit/View column to the portlet. |
|||
Object |
Adds a row to the portlet. |
||
Object |
Adds multiple rows to the portlet. |
||
Property |
string |
The title of the portlet. |