alert.configSetOptions( config as Object, options as Object ) as Object
This function sets the options in the specified alerting configuration.
Parameters | |
---|---|
config | The specified alerting configuration. |
options | The options of the specified configuration. |
const alert = require("/MarkLogic/alert.xqy"); alert.configSetOptions( alert.configGet("http://acme.com/alert/message-board"), {"unfiltered":"true"})