Help about Unshelve API

If you are having a problem using Vault, post a message here.

Moderator: SourceGear

Post Reply
mouse
Posts: 3
Joined: Fri Jun 27, 2014 1:34 am

Help about Unshelve API

Post by mouse » Fri Jun 27, 2014 8:55 am

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.

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Help about Unshelve API

Post by Beth » Fri Jun 27, 2014 5:07 pm

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

mouse
Posts: 3
Joined: Fri Jun 27, 2014 1:34 am

Re: Help about Unshelve API

Post by mouse » Sun Jun 29, 2014 7:58 pm

Beth 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()?
The whole path is: ServerOperations.client.ClientInstance.Unshelve
Any way, is there any path to get files which been shelved?

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Help about Unshelve API

Post by Beth » Mon Jun 30, 2014 9:19 am

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.
Beth Kieler
SourceGear Technical Support

mouse
Posts: 3
Joined: Fri Jun 27, 2014 1:34 am

Re: Help about Unshelve API

Post by mouse » Tue Jul 01, 2014 5:46 am

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.
Do you mean .chm file in SDK? There is only one .chm and doesn't contain unshelve function or any other useful information.
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

Beth
Posts: 8550
Joined: Wed Jun 21, 2006 8:24 pm
Location: SourceGear
Contact:

Re: Help about Unshelve API

Post by Beth » Tue Jul 01, 2014 10:17 am

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
Beth Kieler
SourceGear Technical Support

Post Reply