In the GUI client, when I right click a file and select diff for a file in the history explorer with only that file is selected, I get prompted for where to get the file to compare with. If I select "any repository file/folder", I can browse though the vault server via a dialog box that opens up.
I wish to use something like that for users to browse and select a folder for use by my program. I assume this isn't that hard, but I am somewhat new to the API.
TIA,
holdera
how to use a gui pop up vault folder browser?
Moderator: SourceGear
There's no way to easily bring up any of our GUI components, because we haven't released an API for doing graphical operations in Vault.
The common thing that people do is to use the results from a call to the Command Line Clients listfolder command to get the repository structure. If you're programming against the 4.0 ClientIntegrationLib, you can get the objects directly by calling ServerOperations.ProcessCommandListFolder to get the tree.
The common thing that people do is to use the results from a call to the Command Line Clients listfolder command to get the repository structure. If you're programming against the 4.0 ClientIntegrationLib, you can get the objects directly by calling ServerOperations.ProcessCommandListFolder to get the tree.