TRY NEW VERSION

Try now New API BETA

Try out the new view and capabilities of the API documentation

START

SetCustomFunctions

SetCustomFunctions(jsonString)

Updates a library of local custom functions.

Parameters:

Name Type Description
jsonString string

A library of custom functions in JSON format.

Returns:

This method doesn't return any data.

Example

Copy code
window.Asc.plugin.executeMethod ("SetCustomFunctions", [JSON.stringify (Content)], function () {
    window.Asc.plugin.executeCommand ("close", "");
});