alert.configGetId( config as Object ) as (Number|String)
This function returns the ID of the specified alerting configuration.
Parameters | |
---|---|
config | The specified alerting configuration. |
const alert = require("/MarkLogic/alert.xqy"); alert.configGetId(alert.configGet("http://acme.com/alert/message-board"))