Loading TOC...

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

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