Assistant.clientScriptModulePath

Property Description

 

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 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 

        

Related Topics

General Notices