AnsweredAssumed Answered

Dowwnload version content

Question asked by satishvarmadandu on Mar 9, 2009
Latest reply on Apr 6, 2009 by ashenoy
  How can i download specific version's content?

Fo Ex:, a file abc.html has 3 versions, 1.0, 1.1, 1.2. Now i want to download each specific versions content. I tried to download similar to a regular file but i am getting some exception as Node does not found exception.

I am defining store as
Store storeRef = new Store(Constants.WORKSPACE_STORE, "SpacesStore");
Somewhere i read that version specific contents should be downloaded from a different store something like Version Store
Store storeRef = new Store("versionStore", "version2Store");

But everytime i am getting excpetion

{}ContentFault:<ns1:errorCode>0</ns1:errorCode><ns1:message>Node does not exist: workspace://SpacesStore/f50d7cec-9db8-43a1-8399-535c59c57374</ns1:message>
    [junit]    {}exceptionName:org.alfresco.repo.webservice.content.ContentFault
    [junit]    {}stackTrace:

Can some one help me in finding out the correct way for defining store to download version specific content.