alert.configSetName

alert.configSetName(
   config as Object,
   name as String
) as Object

Summary

This function sets the name in the specified alerting configuration.

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

Example

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

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