Loading TOC...

alert.actionGetModuleRoot

alert.actionGetModuleRoot(
   $action as Object
) as String

Summary

This function returns the module root of a given action.

Parameters
$action The representation of an action.

Example

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

  alert.actionGetModuleRoot(
       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.

Comments

The commenting feature on this page is enabled by a third party. Comments posted to this page are publicly visible.