alert.configSetDescription( config as Object, description as String ) as Object
This function sets the description within the specified alerting configuration.
Parameters | |
---|---|
config | The specified alerting configuration. |
description | The description of the specified configuration. |
const alert = require("/MarkLogic/alert.xqy"); alert.configSetDescription( alert.configGet("http://acme.com/alert/message-board"), "The message board configuration")