alert.configSetCpfDomainNames( config as Object, names as String[] ) as Object
This function sets the CPF domain names in the specified alerting configuration.
var alert = require("/MarkLogic/alert.xqy"); alert.configSetCpfDomainNames( alert.configGet("http://acme.com/alert/message-board"), ["Default Documents"])
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.