Loading TOC...

alert.actionGetModule

alert.actionGetModule(
   $action as Object
) as String

Summary

This function returns the module of a given action.

Parameters
$action The representation of an action.

Example

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

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

  => /modules/sms.xqy (or whatever is the path to the module)
  

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy