plugin.findImplementations(options)

Note:

The content in this help topic pertains to SuiteScript 2.0.

Method Description

Returns the script IDs of custom plug-in type implementations.

Returns an empty list when there is no custom plug-in type with the script ID available for the executing script.

Returns

A string[] containing a list of custom plug-in implementation script IDs.

Supported Script Types

Server scripts

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

Governance

None

Module

N/config Module

Since

2016.1

Parameters
Note:

The options parameter is a JavaScript object.

Parameter

Type

Required / Optional

Description

Since

options.type

string

required

The script ID of the custom plug-in type.

2016.1

options.includeDefault

boolean

optional

The default value is true, indicating that the default implementation should be included in the list.

2016.1

Syntax
Important:

The following code snippet shows the syntax for this member. It is not a functional example. For a complete script example, see N/plugin Module Script Sample.

          //Add additional code 
...
var impls = plugin.findImplementations({
    type: 'customscript_sample_plugin'
});
...
//Add additional code 

        

Related Topics

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

General Notices