Modules

filter

 

Objects/Functions

module (N/ui/serverWidget)

SuiteScript 2.0

AssistantStep.label

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

N/ui/serverWidget Module
AssistantStep.label
Property Description: The label for the step. To create a label when the step is first added to the assistant, you can use the Assistant.addStep(options) method.
Type: string
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=AssistantStep.label

Example:

// Code Example 1
//Add additional code
//...
var assistant = serverWidget.createAssistant({
title : 'Simple Assistant'
});
var assistantStep = assistant.addStep({
id : 'idname',
label : 'Sample label'
});
var label = assistantStep.label;
//...
//Add additional code

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