Loading TOC...

MarkLogic 12 EA 2 Product Documentation
xdmp.getInvokedPath

xdmp.getInvokedPath() as String

Summary

Returns the path of the module that is being invoked. Note that this is different from xdmp.getRequestPath when the module is invoked because an invoke or eval does not create a new request.

Example

xdmp.getInvokedPath();
=> "/example.xqy"

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.