Portlet Object
Portlet objects are used to encapsulate scriptable dashboard portlets. NetSuite automatically passes them to the render(params) entry point. For more information, see render(params).
Simple Form Portlet Object Members
These options are only for 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 options are only for 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 options are only for 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 options are only for 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. |