Is there a way to access older versions of a document via Alfresco share?

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

Is there a way to access older versions of a document via Alfresco share?

Jump to solution

Is there a way to access older versions of a document via Alfresco share?

I don't see any option at the minute to access older versions.

1 Solution

Accepted Solutions
mehe
Senior Member II

Re: Is there a way to access older versions of a document via Alfresco share?

Jump to solution

you should see the version history of a document on the document-details page (bottom right) - but only if the document is versioned... (has the versionable aspect applied)

View solution in original post

2 Replies
mehe
Senior Member II

Re: Is there a way to access older versions of a document via Alfresco share?

Jump to solution

you should see the version history of a document on the document-details page (bottom right) - but only if the document is versioned... (has the versionable aspect applied)

ranjeetsi
Established Member II

Re: Is there a way to access older versions of a document via Alfresco share?

Jump to solution

Hi ,

On share you can only have the version history and options to download the old version, revert to make that as the latest version and get properties of that version of node.

Lets say the node url is 

http://localhost:8080/share/page/site/aiotestsite1/document-details?nodeRef=workspace://SpacesStore/... 

Run the cmis query as below :

http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root?objectId=workspac...

If older version is present you will get 

{...}

{
"properties": {
"alfcmis:nodeRef": {
"id": "alfcmis:nodeRef",
"localName": "nodeRef",
"displayName": "Alfresco Node Ref",
"queryName": "alfcmis:nodeRef",
"type": "id",
"cardinality": "single",
"value": "versionStore://version2Store/f898797d-62d6-4a64-8ad0-a511a5261f57"

Bow use this in the url - to open that version - since it lies in a different store..

http://localhost:8080/share/page/site/aiotestsite1/document-details?nodeRef=versionStore://version2S... 

Just a reference:

Repository concepts | Alfresco Documentation 

Please let me know if it helps:

Alfresco Content Services Certified Engineer (ACSCE)