List.clientScriptFileId

Note:

The content in this help topic pertains to SuiteScript 2.0.

Property Description

The File Cabinet ID of client script file to be used in this list.

Type

number

Supported Script Types

SuiteScript 2.x Suitelet Script Type

Module

N/ui/serverWidget Module

Since

2016.1

Errors

Error Code

Thrown If

PROPERTY_VALUE_CONFLICT

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

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 
...
var list = serverWidget.createList({
    title : 'Simple List'
});
list.clientScriptFileId = 123;
...
//Add additional code 

        

Related Topics

serverWidget.List
N/ui/serverWidget Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices