List.clientScriptModulePath

Property Description

The relative path to the client script file to be used in this list.

Type

string

Supported Script Types

SuiteScript 2.x Suitelet Script Type

Module

N/ui/serverWidget Module

Since

2016.2

Errors

Error Code

Thrown If

PROPERTY_VALUE_CONFLICT

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

Syntax
Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/ui/serverWidget Module Script Samples.

          //Add additional code 
...
objList.clientScriptModulePath = 'SuiteScripts/listBehavior.js';
...
//Add additional code 

        

Related Topics

General Notices