Key.scriptId

Property Description

The script ID of the key.

Using Key.save() and keyControl.findKeys(options) returns the script ID.

Supported Script Types

Server scripts

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

Module

N/keyControl Module

Methods and Properties

Key Object Members

Since

2019.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/keyControl Module Script Samples.

            // Add additional code
...
var key = keyControl.createKey();
key.scriptId = 'testid'
...
// Add additional code 

          

Related Topics

General Notices