Creating a Custom Plug-in in an XML Definition
The following process describes creating a custom plug-in for use in SuiteCloud Development Framework (SDF):
-
Create a custom plug-in type. In SDF, that is represented by a
plugintype
object. -
Create alternate custom plug-in implementations for that type. In SDF, those are represented by
pluginimplementation
objects.See Creating a Custom Plug-in Implementation in an XML Definition.
-
Instantiate the custom plug-in in a SuiteScript script.
See Instantiating a Custom Plug-in Script in SuiteScript 2.x.
-
Validate the SDF custom objects and then deploy them to a NetSuite account.
See Validating a Custom Plug-in in an XML Definition and Deployment Logs for SuiteCloud Projects.
-
Set the active implementation in a NetSuite account.
To bundle the custom plug-in, see Bundling a Custom Plug-in.