MarkLogic Server 11.0 Product Documentation
dom:configuration-set-evaluation-context

dom:configuration-set-evaluation-context(
   $context as element(dom:evaluation-context)
) as empty-sequence()

Summary

Set a new context for the CPF configuration. This will ripple down to the restart trigger as well.

Parameters
context An evaluation-context element (for example, from the output of dom:evaluation-context.

Example

xquery version "1.0-ml";
import module namespace dom = "http://marklogic.com/cpf/domains" 
		  at "/MarkLogic/cpf/domains.xqy";

dom:configuration-set-evaluation-context( 
     dom:evaluation-context( xdmp:database("Modules"), "/" ) )
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy