Loading TOC...


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


[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.

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.


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. :)

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.