Notification in Vault
Moderator: SourceGear
Notification in Vault
Some of my developer's are leaving work with files cheked out.
Is there a process inside Vault that I can schedule to check repositories and send an email? if not, can you assist in which objects I need to look at for custom coding?
Thanks
Tom
Is there a process inside Vault that I can schedule to check repositories and send an email? if not, can you assist in which objects I need to look at for custom coding?
Thanks
Tom
Notification in Vault
No, I wish to know if there is an API call that I can use to call Vault and see what files are checked out?
I'll write the program and schedule it.
I'm just not sure what object to look at?
Thanks
Tom
I'll write the program and schedule it.
I'm just not sure what object to look at?
Thanks
Tom
Tom
You can use the command line client's listcheckouts command with:
That will generate XML for all checkouts in a repository.
You can use the command line client's listcheckouts command with:
Code: Select all
vault.exe -user USERNAME -password PASSWORD -host SERVER -repository "Repository Name" listcheckouts
Notification in Vault
Is there an object I can call from within C# using Visual Studio .net 2005?
Sure (assuming that you're using 4.0.1)
Look at the C# examples at: http://support.sourcegear.com/viewtopic.php?t=8020
After the call to ServerOperations.Login(), call ServerOperations.ProcessCommandListCheckOuts()
Look at the C# examples at: http://support.sourcegear.com/viewtopic.php?t=8020
After the call to ServerOperations.Login(), call ServerOperations.ProcessCommandListCheckOuts()
Notification in Vault
Thanks for your reply, but I am on 3.16 (3658 SG) version of Vault.
So are the objects different? If so, can you tell me which ones they are for my version of Vault?
Thanks
BTD
So are the objects different? If so, can you tell me which ones they are for my version of Vault?
Thanks
BTD
Then you will need to start with the blog post:
http://weblogs.asp.net/jeremy_sheeley/a ... 75860.aspx
The object array you probably want is:
ClientInstance.TreeCache.CheckOuts
http://weblogs.asp.net/jeremy_sheeley/a ... 75860.aspx
The object array you probably want is:
ClientInstance.TreeCache.CheckOuts
Notification in Vault
Many thanks for your assistance.
Tom
Tom