Hi Danny, Not directly no. You are expected to specify collections at each update. There are drawbacks, and benefits to that. I think easiest way out for you is to make sure that the user you are using to connect to MarkLogic, has default collections assigned, either directly, or inherited from some role.
Cheers, Geert From: Danny Sinang <[email protected]<mailto:[email protected]>> Reply-To: MarkLogic Developer Discussion <[email protected]<mailto:[email protected]>> Date: Thursday, April 16, 2015 at 7:11 PM To: general <[email protected]<mailto:[email protected]>> Subject: [MarkLogic Dev General] Preserving document collection membership We sometimes modify XML docs in ML by hand (via WebDav / Oxygen) and discover later on that that XML doc is no longer part of its previous collection(s). Is there a way to tell ML to preserve collection membership when changed via the said method ? Regards, Danny
_______________________________________________ General mailing list [email protected] Manage your subscription at: http://developer.marklogic.com/mailman/listinfo/general
