I need to request history for a project folder and get the most recent change to occur in that folder for any given item in it. How would I go about setting up the VaultHistoryQueryRequest to achieve this?
Thanks,
Jim
Vault Client API - Requesting history for a folder
Moderator: SourceGear
Attached is a sample test file that was used in conjunction with an nunit framwork test suite. It contains some code to create some history and then fetch it and verify the results are what was expected.
Look at the VaultHistoryQueryRequest function for an example on how to create a history request. You might be able to run this if you strip out the nunit specifc stuff, but even so the code samples should help see how to set this stuff up.
Good luck!
Look at the VaultHistoryQueryRequest function for an example on how to create a history request. You might be able to run this if you strip out the nunit specifc stuff, but even so the code samples should help see how to set this stuff up.
Good luck!
- Attachments
-
- Sample_Tests_History.txt
- Sample History Code
- (16.56 KiB) Downloaded 1248 times