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
$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

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

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

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

Comments