Loading TOC...

MarkLogic Server 11.0 Product Documentation
cma functions

The table below lists all the cma built-in functions (in this namespace: http://marklogic.com/manage/config).

The configuration management functions are used to to retrieve a configuration of an individual resource, a set of resources, or a full cluster, to generate a configuration from scenarios, and to apply a configuration.

The configuration management function module is installed at the following file:

  • install_dir/Modules/MarkLogic/cma.sjs

where install_dir is the directory in which MarkLogic Server is installed.

To use this module in your JavaScript code, include a require statement similar to the following in your code:

const cma = require('/MarkLogic/cma.sjs');

2 functions
Function name Description
cma.applyConfig Apply a named configuration, overriding parameters and setting options.
cma.generateConfig Retrieve an individual resource, set of resources, or full cluster configuration; generate a configuration from scenarios.