console - marklogic undefined function error xdmp:server-root -


when run script xdmp:server-root(xdmp:server("http-cvsearch-8200")) in marklogic console, got error: xdmp:server-root() function not defined. ml version 8.0-3.2.

i tried function , works well.

let $config := admin:get-configuration()

return admin:appserver-get-root($config,xdmp:server())


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -