Modules

filter

 

Objects/Functions

module (N/ui/serverWidget)

SuiteScript 2.0

serverWidget.Assistant

// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=serverWidget.Assistant for more information.

N/ui/serverWidget Module
serverWidget.Assistant
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. The assistant cannot be used on externally available Suitelets.
Supported Script Types: SuiteScript 2.0 Suitelet Script Type and SuiteScript 2.0 User Event Script Type (beforeLoad(scriptContext))
Module: N/ui/serverWidget Module
Since: 2015.2
Search NetSuite - https://system.netsuite.com/app/help/helpcenter.nl?search=serverWidget.Assistant

Example:

// Code Example 1
//Add additional code
//...
var assistant = serverWidget.createAssistant({
title : 'Simple Assistant'
});
//...
//Add additional code

//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_4325849970.html