Loading TOC...

MarkLogic 9 Product Documentation
alert:config-get

alert:config-get(
   $uri as xs:string
) as element(alert:config)?

Summary

Gets the config associated with the specified URI. The user must have the alert-user privilege to call this function.

Parameters
uri The URI of the alerting configuration.

Example

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

  alert:config-get("http://acme.com/alert/message-board")
  

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