Hi Santhosh,

Yes you can reference the modules in different data base when you use one of 
the below functions. In options parameter, you can specify the modules database 
name.
Xdmp:eval()
Xdmp:spawn()
Xdmp:span-function()

Thanks & Regards,
Santhosh Rajasekaran
It is very easy to defeat someone, but it is very hard to win someone.

From: general-boun...@developer.marklogic.com 
[mailto:general-boun...@developer.marklogic.com] On Behalf Of Kanugovi, Santhosh
Sent: Thursday, March 22, 2018 2:48 PM
To: general@developer.marklogic.com
Subject: [MarkLogic Dev General] code reference across db's.

Hello
Can we share reference between different modules-databases. For example
I have A module db "Library" and a module db "Order-Application"
Can we reference a module from Library in Order-Application?

Thank you.

Santhosh Kanugovi
Legal Markets and Innovation
Legal & Regulatory Solutions U.S.
Wolters Kluwer
Office: 847-267-7027
[cid:image002.png@01D1B762.314D90E0]

This e-mail and any files transmitted with it are for the sole use of the 
intended recipient(s) and may contain confidential and privileged information. 
If you are not the intended recipient(s), please reply to the sender and 
destroy all copies of the original message. Any unauthorized review, use, 
disclosure, dissemination, forwarding, printing or copying of this email, 
and/or any action taken in reliance on the contents of this e-mail is strictly 
prohibited and may be unlawful. Where permitted by applicable law, this e-mail 
and other e-mail communications sent to and from Cognizant e-mail addresses may 
be monitored.
_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to