Loading TOC...

MarkLogic 9 Product Documentation
alert:config-set-name

alert:config-set-name(
   $config as element(alert:config),
   $name as xs:string
) as element(alert:config)

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

  xquery version "1.0-ml";
  import module namespace alert = "http://marklogic.com/xdmp/alert" 
		  at "/MarkLogic/alert.xqy";

  alert:config-set-name($config, "message-board")
  

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