Hi,
I'm developing a small tool with vault API. I want to get some files which were already shelved to a folder but not a working folder. Is there any API to implement it?
Also, I found there was a API named "Unshelve()", I thought it would get files down to working folder and tried but failed. Could you get any sample codes to show how to use it with a shelve node name?
My vault version is 5.1.
Thanks a lot
Mouse.
Help about Unshelve API
Moderator: SourceGear
Re: Help about Unshelve API
I thought I had been all through our API, and I don't recall an unshelve function there. Can you show me where you found an API command of Unshelve()?
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Help about Unshelve API
The whole path is: ServerOperations.client.ClientInstance.UnshelveBeth wrote:I thought I had been all through our API, and I don't recall an unshelve function there. Can you show me where you found an API command of Unshelve()?
Any way, is there any path to get files which been shelved?
Re: Help about Unshelve API
What you are looking at isn't going to accomplish what you want. A real unshelve includes a lot more than that function.
Take a look in the .chm file to see the functions that are supported.
Take a look in the .chm file to see the functions that are supported.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
Re: Help about Unshelve API
Do you mean .chm file in SDK? There is only one .chm and doesn't contain unshelve function or any other useful information.Beth wrote:What you are looking at isn't going to accomplish what you want. A real unshelve includes a lot more than that function.
Take a look in the .chm file to see the functions that are supported.
Could you give some simple codes as a sample to show me how to use it?
I just want to get files down to my local folder which were shelved, could you point out how to implement it or for now, API doesn't support this?
Thanks,
Mouse
Re: Help about Unshelve API
In the same Zip file as the Vault client API is a .chm file that has the documentation.
Sorry, but the API currently doesn't allow users to GET files from a shelveset.
I can take a feature request for the developers to make this functionality available.
F: 17780
Sorry, but the API currently doesn't allow users to GET files from a shelveset.
I can take a feature request for the developers to make this functionality available.
F: 17780
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support