Page 1 of 1

Vault Standard and API (dll) Usage

Posted: Mon Sep 26, 2016 7:40 am
by RonGRusk
Trying to figure out how to get a list of changed items in c# (Not in Working Folder Yet) in "$" Root, or subfolder, or single item.

What would be the syntax and return structure/Items?

Re: Vault Standard and API (dll) Usage

Posted: Mon Sep 26, 2016 8:46 am
by Beth
You'll want to perform a history query and you can filter by date to get all historical actions since a certain date.

The second post in this thread asks about folder history, so the responses there should help: http://support.sourcegear.com/viewtopic.php?f=31&t=8020.


Show folder history: http://support.sourcegear.com/viewtopic ... ory#p62664

(Moved your post to the development area. Check here for more API tips: http://support.sourcegear.com/viewforum.php?f=39 )

Re: Vault Standard and API (dll) Usage

Posted: Mon Sep 26, 2016 10:41 am
by RonGRusk
What I want is a delta of What is newer than what currently exists in my working folder, according to Vault's Cache. I don't think its reliable to check Time/Date stamps on local files then compare with history.

Re: Vault Standard and API (dll) Usage

Posted: Mon Sep 26, 2016 1:23 pm
by Beth
It sounds like what you want is the status of the files like we have in the Vault GUI client, right? When something in Vault is newer than what is on a person's disk, the status becomes Old.

Is that the kind of thing you are looking for?

In the Vault GUI client, there is also an option to do a CRC check to determine status. If the first option isn't it, then is this the option you're looking for?

Another option we have is the Folder Changes Archive that is used to get everything that has changes since a certain date. If this what you want to eventually do?

If none of these fit can you tell me how you are wanting to ultimately accomplish?