
alert.actionGetModule( action as Object ) as String
This function returns the module of a given action.
| Parameters | |
|---|---|
| action | The representation of an action. |
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)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.