[MarkLogic Dev General] Document properties and managed documents

Lesniak, Mike Michael.Lesniak at cengage.com
Wed Sep 15 12:29:05 PDT 2010


Hi,

I'm using the library services API to manage documents and save prior versions.  I am also using custom document properties to store various custom properties.  However, I am having a problem in that using the dls:document-update() function only retains the custom properties on the head document; even setting the $retain-history to fn:true() only saves the ML properties on the previous version, not the custom properties.

Is this a bug?  In the meantime, how can I get the update to retain ALL of the document properties on the previous versions of documents?

Michael Lesniak
Production Technology Specialist, Global Production & Manufacturing Services
Cengage Learning
27500 Drake Rd.
Farmington Hills, MI 48331-3535

(o) 248.699.8713 | (e) michael.lesniak at cengage.com | www.cengage.com


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://developer.marklogic.com/pipermail/general/attachments/20100915/22d26732/attachment.html 


More information about the General mailing list