SetCustomFunctions
Updates a library of local custom functions.
Syntax
expression.SetCustomFunctions(jsonString);
expression
- A variable that represents a Api class.
Parameters
Name | Required/Optional | Data type | Default | Description |
---|---|---|---|---|
jsonString | Required | string | A library of custom functions in JSON format. |
Returns
This method doesn't return any data.
Example
window.Asc.plugin.executeMethod ("SetCustomFunctions", [JSON.stringify (Content)], function () {
window.Asc.plugin.executeCommand ("close", "");
});