N/plugin Module
Use the N/plugin module to load custom plug-in implementations. For additional information, see Custom Plug-ins.
You cannot use the SuiteScript Debugger to debug a script on demand that uses the N/plugin module. You must use deployed debugging. To use deployed debugging, you must complete the steps described in Adding a Script that Instantiates a Custom Plug-in to NetSuite. For the complete process on creating a custom plugin, see Custom Plug-in Development. For additional information about ad-hoc and deployed debugging, see SuiteScript Debugger.
In This Help Topic
N/plugin Module Members
Member Type |
Name |
Return Type / Value Type |
Supported Script Types |
Description |
---|---|---|---|---|
Method |
string[] |
Server scripts |
Returns the script IDs of custom plug-in type implementations. |
|
Method |
Object |
Server scripts |
Instantiates an implementation of the custom plug-in type. |