MarkLogic Server 11.0 Product Documentation
alert:config-set-cpf-domain-names

alert:config-set-cpf-domain-names(
   $config as element(alert:config),
   $names as xs:string*
) as element(alert:config)

Summary

This function sets the CPF domain names in the specified alerting configuration.

Parameters
$config The specified alerting configuration.
names The name(s) of the domains to use with this alerting configuration. The names must be valid domain names for the database in which the alerting config references.

Example

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

  alert:config-set-cpf-domain-names($config, $domain-names)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy