Difference between Folder Versions details
Posted: Fri Jun 20, 2008 9:38 am
I have a question about Folder Versions details.
When I go into your client application,
do a "Show History" on a folder,
I change only "View folder history by item" for "View folder history by version".
Click OK.
It brings me to the list of version for the selected folder.
I choose a version and then click "Details".
It shows me what happened, everything is fine.
Now, with the API.
I connect myself to vault server with the same account.
Then I call ServerOperations.ProcessCommandHistory([lotsOfParameters]);
I use the same folder with the same version as I used in your client.
But the API sometimes return me 0 VaultHistoryItem.
What am I doing wrong ?
Is there a property I need to set to the connection to receive the same information as your client program ?
[example of my call in C#]
ServerOperations.ProcessCommandHistory("$/folderToGet",true,DateSortOption.asc,null,null,VaultLib.VaultDate.EmptyDate().ToString(),VaultLib.VaultDate.EmptyDate().ToString(),null,null,4,4,0);
[end of example]
Thanks !
When I go into your client application,
do a "Show History" on a folder,
I change only "View folder history by item" for "View folder history by version".
Click OK.
It brings me to the list of version for the selected folder.
I choose a version and then click "Details".
It shows me what happened, everything is fine.
Now, with the API.
I connect myself to vault server with the same account.
Then I call ServerOperations.ProcessCommandHistory([lotsOfParameters]);
I use the same folder with the same version as I used in your client.
But the API sometimes return me 0 VaultHistoryItem.
What am I doing wrong ?
Is there a property I need to set to the connection to receive the same information as your client program ?
[example of my call in C#]
ServerOperations.ProcessCommandHistory("$/folderToGet",true,DateSortOption.asc,null,null,VaultLib.VaultDate.EmptyDate().ToString(),VaultLib.VaultDate.EmptyDate().ToString(),null,null,4,4,0);
[end of example]
Thanks !