Loading TOC...

MarkLogic Server 11.0 Product Documentation
alert.actionGetOptions

alert.actionGetOptions(
   action as Object
) as Object

Summary

This function returns the options of a given action.

Parameters
action The representation of an action.

Example

  const alert = require("/MarkLogic/alert.xqy");

  alert.actionGetOptions(
       alert.getActions("http://acme.com/alert/message-board", ["sms"])[0])

  

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