render(params)

Description

Defines the portlet script trigger point.

Returns

void

Since

Version 2015 Release 2

Parameters
Note:

The params parameter is a JavaScript object. It is automatically passed to the script entry point by NetSuite. The values for params are read-only.

Parameter

Type

Description

Since

params.portlet

Portlet Object

The Portlet object used for rendering.

The availability of Portlet members depends on the type of Portlet that is passed in. For more information, see the following:

Version 2015 Release 2

params.column

string (read-only)

The column index for the portlet on the dashboard.

The index is a string representation of one of the following numeric values:

  1. left column

  2. center column

  3. right column

Version 2015 Release 2

params.entity

string (read-only)

The customer ID for the selected customer.

Version 2015 Release 2

Related Topics

General Notices