Loading TOC...

configdsl functions

The table below lists all the configdsl built-in functions (in this namespace: ).

You can also view these functions broken down by category:

This is the Config DSL module, which is used to parse and process the Config DSL representation of a configuration specified using the functions of the Admin API. The Config DSL representation uses a narrow subset of JavaScript syntax consisting of the JavaScript statements that build the configuration changes.

Where the Config AST provides a declaration of configuration for generation and manipulation by scripts, tools, and APIs, the Config DSL provides a declaration for editing by people.

To use this module in your Server-Side JavaScript code, include an import statement similar to following line in your code:

                   import configDSL from '/MarkLogic/builder/config-dsl-js.mjs';
        
1 function
Function name Description
configdsl.apply This function takes the Config DSL representation of a server configuration for parsing and processing as a string or text and applies the configuration using the functions of the Admin API.