Loading TOC...

alert.configSetCpfDomainNames

alert.configSetCpfDomainNames(
   $config as Object,
   $names as String[]
) as Object

Summary

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

Parameters
$configThe specified alerting configuration.
$namesThe 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

  var alert = require("/MarkLogic/alert.xqy");

  alert.configSetCpfDomainNames(
             alert.configGet("http://acme.com/alert/message-board"), 
             ["Default Documents"])
  

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy