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 tried to set this value, but the Portlet.clientScriptFileId is already set. For more information, see Portlet.clientScriptFileId. |
Syntax
The following code snippet shows the syntax for this member. Note that this isn't a working example. For a complete script example, see SuiteScript 2.x Portlet Script Type.
...
params.portlet.clientScriptModulePath = '/SuiteScripts/clientScript.js';
...