Portlet.clientScriptFileId

Property Description

The script file ID to be used in the portlet.

Type

number or string

Entry Point

render(params)

Since

2016.2

Errors

Error Code

Thrown If

PROPERTY_VALUE_CONFLICT

You tried to set this value, but the Portlet.clientScriptModulePath property value 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.clientScriptFileId = 32;
... 

        

Related Topics

General Notices