serverWidget.Assistant

Note:

The content in this help topic pertains to SuiteScript 2.0.

Object Description

A scriptable, multi-step NetSuite assistant. An assistant contains a series of step that a user must complete to accomplish a larger goal. An assistant can be sequential, or non-sequential and include optional steps. Each page of the assistant is defined by a step.

All data and states for an assistant are tracked automatically throughout the user's session until completion of the assistant.

You can create a new assistant with the serverWidget.createAssistant(options) method.

After you create an Assistant object, you can:

  • Build and run an assistant in your NetSuite account.

  • Add a variety of scriptable elements to the assistant including fields, steps, buttons, tabs, and sublists.

For a complete list of this object’s methods and properties, see Assistant Object Members.

Note:

The assistant cannot be used on externally available Suitelets.

Supported Script Types

SuiteScript 2.x Suitelet Script Type

Module

N/ui/serverWidget Module

Since

2015.2

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 assistant = serverWidget.createAssistant({
    title : 'Simple Assistant'
});
...
//Add additional code 

        

Related Topics

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

General Notices