cancel
Showing results for 
Search instead for 
Did you mean: 

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

kartech11
Confirmed Champ
Confirmed Champ

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 ACCEPTED ANSWER

mehe
Elite Collaborator
Elite Collaborator

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 answer in original post

2 REPLIES 2

mehe
Elite Collaborator
Elite Collaborator

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
Star Contributor
Star Contributor

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)