ssCore.Plugin.loadFromFolder

Same as Plugin.Load except the plugin is loaded from a specific folder.


Availability:

First available in version 3.2 build 136.


Input Parameters:

plugin - The name of the plugin to be loaded.

alias - The name that will be used to refer to this instance of the plugin.

path - Folder where the plugin should be loaded from. This parameter supports monikers.


Output Parameters:

No output parameters.


Asynchronous Mode:

When this method is called asynchronously, a return object containing the output parameters is passed to the specified callback function.

ssCore.Plugin.loadFromFolder( paramsObject [, callbackParamsObject] [, errorParamsObject] );


Synchronous Mode:

When this method is called synchronously, a return object containing the output parameters is returned to the caller immediately.

var returnObject = ssCore.Plugin.loadFromFolder( paramsObject );


Notes:

None.


Examples:

ssCore.Plugin.loadFromFolder({plugin:"MyPlugin", alias:"MyPlugin", path:"startdir://"});