Assistant.clientScriptModulePath

Property Description

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

Type

string

Supported Script Types

Suitelets

For more information, see SuiteScript 2.x Script Types.

Module

N/ui/serverWidget Module

Since

2016.2

Errors

Error Code

Thrown If

PROPERTY_VALUE_CONFLICT

You attempted to set this value when the Assistant.clientScriptFileId property value has already been specified. For more information, see Assistant.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 
...
objAssistant.clientScriptModulePath = 'SuiteScripts/assistantBehavior.js';
...
//Add additional code 

        

General Notices