alert.configSetDescription

alert.configSetDescription(
   config as Object,
   description as String
) as Object

Summary

This function sets the description within the specified alerting configuration.

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

Example

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

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