Assistant.clientScriptFileId
Property Description |
The File Cabinet ID of client script file to be used in this assistant. |
Type |
number |
Supported Script Types |
Suitelets For more information, see SuiteScript 2.x Script Types. |
Module |
|
Since |
2015.2 |
Errors
Error Code |
Thrown If |
---|---|
|
You attempted to set this value when the Assistant.clientScriptModulePath property value has already been specified. For more information, see Assistant.clientScriptModulePath. |
Syntax
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 assistant = serverWidget.createAssistant({
title : 'Simple Assistant'
});
assistant.clientScriptFileId = 32;
...
//Add additional code