MarkLogic Server 11.0 Product Documentation
alert.configSetOptions

alert.configSetOptions(
   config as Object,
   options as Object
) as Object

Summary

This function sets the options in the specified alerting configuration.

Parameters
config The specified alerting configuration.
options The options of the specified configuration.

Example

  const alert = require("/MarkLogic/alert.xqy");

  alert.configSetOptions(
           alert.configGet("http://acme.com/alert/message-board"),
           {"unfiltered":"true"}) 
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy