Portlet.clientScriptModulePath
Property Description |
The script path to be used in the portlet. |
Type |
string |
Entry Point |
|
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';
...