suiteAppInfo.isBundleInstalled(options)

Note:

The content in this help topic pertains to SuiteScript 2.0.

Method Description

Use this method to determine if a specified bundle is installed.

Returns

Returns true if the specified bundle is installed.

Returns false if the specified bundle is not installed.

Supported Script Types

Client and server scripts

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

Governance

5 units

Module

N/suiteAppInfo Module

Sibling Module Members

N/suiteAppInfo Module Members

Since

2021.1

Parameters

Note:

The options parameter is a JavaScript object.

Parameter

Type

Required / Optional

Description

options.bundleId

integer

required

The id of the bundle.

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/suiteAppInfo Module Script Sample.

            // Add additional code
...
var isBundleInstalled = suiteAppInfo.isBundleInstalled({
    bundleId: 123
});
...
// Add additional code 

          

Related Topics

N/suiteAppInfo Module
SuiteScript 2.x Modules
SuiteScript 2.x

General Notices