dom:configuration-set-default-domain( $domain-id as xs:unsignedLong ) as empty-sequence()
Set a new default domain for the CPF configuration.
Parameters | |
---|---|
domain-id | The domain ID of the default domain. |
xquery version "1.0-ml"; import module namespace dom = "http://marklogic.com/cpf/domains" at "/MarkLogic/cpf/domains.xqy"; dom:configuration-set-default-domain( fn:data(dom:get("my-domain")/dom:domain-id) )
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.