Hi Shabana,

I’d recommend looking into the bi-temp functionality, or more specifically the 
uni-temporal variant that was added in MarkLogic 9. The temporal functionality 
is embedded much deeper into MarkLogic, and takes away some of the heavy burden 
of guarding temporal documents are not tampered with. It works with a simple 
‘latest’ collection which allows you to easily find the latest version of all 
documents.

I recommend looking through the Temporal guide to get a better understanding of 
it:

http://docs.marklogic.com/guide/temporal

Kind regards,
Geert

From: 
<general-boun...@developer.marklogic.com<mailto:general-boun...@developer.marklogic.com>>
 on behalf of shabana khan 
<shabana.0...@gmail.com<mailto:shabana.0...@gmail.com>>
Reply-To: MarkLogic Developer Discussion 
<general@developer.marklogic.com<mailto:general@developer.marklogic.com>>
Date: Monday, July 10, 2017 at 9:19 AM
To: MarkLogic Developer Discussion 
<General@developer.marklogic.com<mailto:General@developer.marklogic.com>>
Subject: [MarkLogic Dev General] Regarding versioning of documents without 
using DLS.

Hi All,

Has anyone come across a scenario where you need to support editing of 
documents but keeping the original document intact but not using DLS for 
versioning thing.

We need to track the different states in which a document can be possibly 
present at any point : that requires some kind of versioning being attached to 
the most recent copy of document.

But we don't intend to use DLS for that and plan to combine collection plus 
permissions to be able to see the documents from the final collection only.

 We do have a rough draft covering different scenarios but not a concrete plan.

Any suggestions will be highly appreciated to give us a good start.

Thanks and Regards,
Shabana Khan
LinkedIn<https://in.linkedin.com/pub/shabana-khan/40/229/454>



_______________________________________________
General mailing list
General@developer.marklogic.com
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to