Is there a way to get all versions and related File of single document
Suppose that I have published document 'abcd' with version 1.0. Then later, I modify the document and publish it with 1.5 and i want both version in java so is ther any possible way to get all documents with diffrent version in nuxeo.
Asked
Active
Viewed 149 times
0

ronak dhruv
- 11
- 4
1 Answers
1
Yes, CoreSession.getVersions will do that for you. There are also variants of this API that returns just document references or a bit more information related to each version. You should peruse the CoreSession
API to know more.

Florent Guillaume
- 8,243
- 1
- 24
- 25
-
but how we can get core session in java.i am not able to get core session – ronak dhruv Sep 01 '16 at 11:12