Getting content of the folder
Posted: Fri Jan 08, 2010 4:33 pm
I am parsing transaction history and want to get content of the folder @ specific version.
ServerOperations.client.ClientInstance.GetFolderAt always returns null to me.
One topic on this forum suggested using ServerOperations.client.ClientInstance.TreeCache.Repository.Root.FindFoldersRecursive() to get folder object, modify version, and then use GetFilesRecursive() to get content. Such approach seems to work, until I reach the folder in history that was deleted later (seems that FindFoldersRecursive scan current state of the repo).
Does anybody know how I can get content of the folder (collection of VaultClientFile objects)? May be there is a trick on using GetFolderAt command?
Vault 4.0.4.
Thanks in advance.
ServerOperations.client.ClientInstance.GetFolderAt always returns null to me.
One topic on this forum suggested using ServerOperations.client.ClientInstance.TreeCache.Repository.Root.FindFoldersRecursive() to get folder object, modify version, and then use GetFilesRecursive() to get content. Such approach seems to work, until I reach the folder in history that was deleted later (seems that FindFoldersRecursive scan current state of the repo).
Does anybody know how I can get content of the folder (collection of VaultClientFile objects)? May be there is a trick on using GetFolderAt command?
Vault 4.0.4.
Thanks in advance.