MarkLogic 10 Product Documentation
alert.configSetCpfDomainNamesalert.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
const alert = require("/MarkLogic/alert.xqy");
alert.configSetCpfDomainNames(
alert.configGet("http://acme.com/alert/message-board"),
["Default Documents"])
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.