Reading through the posts - this was last addressed back in 2011. I am creating a form and will access Vault Standard 6.1 to get a list of all labels available for a selected project. So under $ there may be 1 or more projects. The user will select the project and a list of labels will appear. They will select the label they want to promote to production and submit.
I do not see a method in your API that would allow this. Is there a workaround or an example piece of code that would work for this application?
C#: List Available Labels for a Project
Moderator: SourceGear
-
- Posts: 61
- Joined: Thu Nov 13, 2014 10:12 am
- Location: Lake in the Hills, IL
C#: List Available Labels for a Project
Thanks!
Eric
Eric
Re: C#: List Available Labels for a Project
What you will want to use are the functions clientinstance.beginlabelquery, clientinstance.endlabelquery, and clientinstance.getlabelqueryitems_main.
If you have any questions about those just let me know.
If you have any questions about those just let me know.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support
-
- Posts: 61
- Joined: Thu Nov 13, 2014 10:12 am
- Location: Lake in the Hills, IL
Re: C#: List Available Labels for a Project
Thanks Beth, I will implement that. I have been thrown into C# and .Net programming so this is all very interesting.
Thanks!
Eric
Eric
Re: C#: List Available Labels for a Project
Just an FYI..
In Vault 8 you will have a few additional options for working with labels. We have added the command FindLabels to our Vault command-line client and the function ServerOperation.ProcessCommandFindLabels() to the Vault 8 API.
In Vault 8 you will have a few additional options for working with labels. We have added the command FindLabels to our Vault command-line client and the function ServerOperation.ProcessCommandFindLabels() to the Vault 8 API.
Beth Kieler
SourceGear Technical Support
SourceGear Technical Support