Loading TOC...

MarkLogic 10 Product Documentation
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")
  

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.