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.
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)
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/42edd240-fe29-4f31-8…
Run the cmis query as below :
http://localhost:8080/alfresco/api/-default-/public/cmis/versions/1.1/browser/root?objectId=workspace://SpacesStore/42edd240-fe29-4f31-8ee2-5c23f69e3720&cmisselector=versions
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://version2Store/f898797d-62d6-4…
Just a reference:
Repository concepts | Alfresco Documentation
Please let me know if it helps: