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 !
Difference between Folder Versions details
Moderator: SourceGear
Look at the ProcessCommandVersionHistory command in ServerOperations.
Subscribe to the Fortress/Vault blog
I tried ProcessCommandVersionHistory but it return the list of all the version of the folder.
What is not working is when I try to get the details about a selected version in the list returned by ProcessCommandVersionHistory.
Details for version #4 in Vault Client application - 5 details.
Details for version #4 in API with ProcessCommandHistory - 0 detail.
What is not working is when I try to get the details about a selected version in the list returned by ProcessCommandVersionHistory.
Details for version #4 in Vault Client application - 5 details.
Details for version #4 in API with ProcessCommandHistory - 0 detail.
Oh, I see now, To get the details for the transaction, call ProcessCommandTxDetail with the TxID.
Subscribe to the Fortress/Vault blog