Macro.label

Note:

The content in this help topic pertains to SuiteScript 2.0.

Property Description

The label of the macro.

For information about record macros, see Overview of Record Action and Macro APIs.

Type

string

Supported Script Types

Client and server scripts

For additional information, see SuiteScript 2.x Script Types.

Module

N/record Module

Parent Object

record.Macro

Sibling Object Members

Macro Object Members

Since

2018.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/record Module Script Samples.

          // Add additional code
...
var label = macro.label; // get the label of the macro
...
// Add additional code 

        

Related Topics

record.Macro
N/record Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices