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")
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy