cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to get previously published versions documents using NXQL?

kneumei_
Champ in-the-making
Champ in-the-making

Suppose that I have published document 'abcd' with version 1.0. Then later, I modify the document and publish it with 1.5.

I want to get a hold of the previously published version of a document using NXQL. Is there a way to do that? Something like this:

SELECT * FROM Document WHERE ecm:uuid='abcd' and uid:major_version='1' and uid:minor_version='0'
5 REPLIES 5

kneumei_
Champ in-the-making
Champ in-the-making

Alternatively, is there an operation (like the ones listed here

Florent_Guillau
World-Class Innovator
World-Class Innovator

It would be useful, I added [NXP-12104](https

kneumei_
Champ in-the-making
Champ in-the-making

So if this feature does not exist, how do you retrieve previous versions of documents?

Florent_Guillau
World-Class Innovator
World-Class Innovator

From Java code on the server side

Florent_Guillau
World-Class Innovator
World-Class Innovator

See NXP-12104 for newly-added NXQL properties in Nuxeo 5.7.3.