Portlet.clientScriptModulePath

Property Description

The script path to be used in the portlet.

Type

string

Entry Point

render(params)

Since

2016.2

Errors

Error Code

Thrown If

PROPERTY_VALUE_CONFLICT

You attempted to set this value when the Portlet.clientScriptFileId property value has already been specified. For more information, see Portlet.clientScriptFileId.

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.clientScriptModulePath = '/SuiteScripts/clientScript.js';
... 

        

Related Topics

Portlet Object
Portlet.addColumn(options)
Portlet.addEditColumn(options)
Portlet.addField(options)
Portlet.addLine(options)
Portlet.addRow(options)
Portlet.addRows(options)
Portlet.setSubmitButton(options)
Portlet.clientScriptFileId
Portlet.html
Portlet.title

General Notices