Loading TOC...

alert.actionSetModuleDb

alert.actionSetModuleDb(
   $action as Object,
   $module-db as String
) as Object

Summary

This function sets the module database of a given action.

Parameters
$action The representation of an action.
$module-dbThe ID of the database containing the module of the action.

Example

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

  alert.actionSetModuleDb(
       alert.getActions("http://acme.com/alert/message-board", ["sms"])[0],
       xdmp.database("Modules"))
  

Comments

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