How to obtain a specific version of a document

cancel
Showing results for 
Search instead for 
Did you mean: 
pedrocarnerero
Member II

How to obtain a specific version of a document

Hi,

I have problems obtaining a specific version of a document. 

I execute the query using ObjectId like this:

479a507f-f095-4a97-bc11-db900ae18055;1.11

or

479a507f-f095-4a97-bc11-db900ae18055;1.7.

But I always obtain the latest version of the document.

Any answer?

Thanks!

1 Reply
janv
Alfresco Employee

Re: How to obtain a specific version of a document

Hi,

Based on your question, I asssume you're using CMIS.

Can you please add details about the version of Alfresco Content Repository as well as the CMIS client & binding ?

Also, a code snippet would help ... ideally a simple groovy script so that others can be execute via CMIS workbench :-)

See also:

CMIS spec 1.1 - Versioning 

CMIS spec 1.1 - getObject (by id) via Browser Binding 

Regards,

Jan