Hi,
How can we retrieve all documents version in alfresco.
Can we find which folder has document versioning in it ?
Thanks
Solved! Go to Solution.
the folder itself does not have that kind of info. but you can iterate through all the children and sort out which ones have the cm:versionable aspect.
you could do a search like this (admin tools -> node browser -> search engine lucene:
PATH:"/app:company_home/st:sites/cm:yourSite/cm:documentLibrary/*" and ASPECT:"cm:versionable"
it will show you the path/parent in the search results, so you might be able to sort this out with a text editor
Hi
Check out this blog post. Jared shows how to iterate through each version of a single document:
Alfresco: Max Version Policy – I exist as I am
Can you elaborate what you mean by "Can we find which folder has document versioning in it ?"
Under 'Sites' , i have subfolders
I mean: Is it possible to find which subfolder contains versioned document ?
the folder itself does not have that kind of info. but you can iterate through all the children and sort out which ones have the cm:versionable aspect.
you could do a search like this (admin tools -> node browser -> search engine lucene:
PATH:"/app:company_home/st:sites/cm:yourSite/cm:documentLibrary/*" and ASPECT:"cm:versionable"
it will show you the path/parent in the search results, so you might be able to sort this out with a text editor
Thanks Marcus
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.