pkg:server-configuration

pkg:server-configuration(
   $group as xs:string,
   $server as xs:string,
   [$include-modules as xs:boolean]
) as element()

Summary

[DEPRECATED: use cma:generate-config and cma:apply-config instead.]

Returns the configuration (in XML) of the named app server, located in the named group.

Parameters
group The name of the group that contains the app server.
server The name of the app server for which to return the configuration.
include-modules Whether or not to include any module configurations used by the app server. Specify fn:true() to include module configurations. Otherwise specify fn:false() or leave empty.

Example


xquery version "1.0-ml"; 
 
import module namespace pkg = "http://marklogic.com/manage/package" 
      at "/MarkLogic/manage/package/package.xqy";

pkg:server-configuration("Default", "dashml")

(: Return the configuration of the 'dashml' app server located in the 'Default'
   group. :)
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy