serverWidget.createAssistant(options)
Method Description |
Creates an assistant object.
Note:
The assistant cannot be used on externally available Suitelets. |
Returns |
serverWidget.Assistant object |
Supported Script Types |
Suitelets For more information, see SuiteScript 2.x Script Types. |
Governance |
None |
Module |
|
Since |
2015.2 |
Parameters
The options parameter is a JavaScript object.
Parameter |
Type |
Required / Optional |
Description |
Since |
---|---|---|---|---|
|
string |
required |
The title of the assistant. This title appears at the top of all assistant pages. |
2015.2 |
|
Boolean |
optional |
Indicates whether to hide the navigation bar menu. By default, set to If set to |
2015.2 |
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'
});
...
//Add additional code
For more information, see Sample Custom Assistant Script.