cancel
Showing results for 
Search instead for 
Did you mean: 

Retrieving metadata of previous version-ed document

govinda
Champ in-the-making
Champ in-the-making
Hello,

How can I get the metadata of old versioned documents(i.e previous versioned document) in alfresco using javascript API ?
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator

n_pancholi87
Champ in-the-making
Champ in-the-making
Hi Govinda,

Just for information, the latest version of a document (Current version) is stored in workspace/spacesStore where as its older versions actually reside in workspace/version2store or versionStore/version2store. So, either you need to get the noderef of the older version by doing a search in the version2store and use it to retrieve the properties.