alert.configSetName( config as Object, name as String ) as Object
This function sets the name in the specified alerting configuration.
Parameters | |
---|---|
config | The specified alerting configuration. |
name | The name of the specified configuration. |
const alert = require("/MarkLogic/alert.xqy"); alert.configSetName( alert.configGet("http://acme.com/alert/message-board"), "message-board")
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.