Loading TOC...

alert:action-get-options

alert:action-get-options(
   $action as element(alert:action)
) as element(alert:options)

Summary

This function returns the options of a given action.

Parameters
$action The representation of an action.

Example

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

  alert:action-get-options($action)
  => <alert:options>
	  <sms:provider name="Verizon" domain="vtext.com"/>
     </alert:options>

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