AnsweredAssumed Answered

How to generate document location url for previous verions using OpenCMIS

Question asked by longinus on Oct 3, 2017
Latest reply on Oct 11, 2017 by jpotts

Hello All,

 

I want to generate a url for a previous version of a document using OpenCMIS library and Alfresco 5.

 

My understanding is that previous version is to be obtained from version store:

 

{serverhost:port/regionalContext}/d/d/versionStore/version2Store/{nodeId}/{fileName}

 

but OpenCMIS doesnt give me back the nodeId in version store. Instead i get id of the main document while calling getAllVersions(), which doesnt help me.

 

Is there any way around it?

 

Regards,

Krzysztof

Outcomes