Portlet.addRow(options)
Method Description |
Adds a row to the portlet. |
Returns |
Object |
Entry Point |
|
Since |
2016.2 |
Parameters
Note:
The options parameter is a JavaScript object.
Parameter |
Type |
Required / Optional |
Description |
Since |
---|---|---|---|---|
|
search.Result | object |
required |
A row that consists of either a search. Result, or name/value pairs. Each pair should contain the value for the corresponding Column object in the list. |
2016.2 |
Syntax
The following code snippet shows the syntax for this member. It is not a functional example. For a complete script example, see SuiteScript 2.x Portlet Script Type.
...
params.portlet.addRow({ row: { columnid1: 'value1', columnid2: 'value2' }
});
...