Assistant.isNotOrdered

Property Description

Whether steps must be completed in a particular sequence. If steps are ordered, users must complete the current step before proceeding to the next step.

The default value is false, which means the steps are ordered. Ordered steps appear vertically in the left panel of the assistant

If set to true, steps can be completed in any order. In the UI, unordered steps appear horizontally and below the assistant title

Type

Boolean

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'
});
assistant.addStep({
    id : 'idname',
    label : 'Sample label'
});
assistant.addStep({
    id : 'idname2',
    label : 'Sample label 2'
});
assistant.isNotOrdered = false;
...
//Add additional code 

        

Related Topics

General Notices