RemovePlugin
Removes a plugin with the specified GUID.
Syntax
expression.RemovePlugin(guid, backup);
expression
- A variable that represents a Api class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
guid | Required | string | The plugin identifier. It must be of the asc.{UUID} type. | |
backup | Required | string | The plugin backup. This parameter is used when working with the desktop editors. |
Returns
object
Example
function removePlugin(backup) {
if (removeGuid)
window.Asc.plugin.executeMethod('RemovePlugin', [removeGuid, backup], function(result) {
postMessage(result);
});
removeGuid = null;
};