I need to update a labels comment. I can see that the vault GUI client calls SOAPAction: "http://www.sourcegear.com/schemas/vault ... belComment" to do this. Which function should I use to mimic this?
Regards, Christoph
How do I call UpdateLabelComment?
Moderator: SourceGear
Re: How do I call UpdateLabelComment?
You will have to write your own client against our ClientAPI.
Start with:
http://support.sourcegear.com/viewtopic.php?f=31&t=8020
which has examples for logging in. Once logged in, you'll need to use:
to get the labelid, and then call:
to update the comment.
Start with:
http://support.sourcegear.com/viewtopic.php?f=31&t=8020
which has examples for logging in. Once logged in, you'll need to use:
Code: Select all
ServerOperations.client.ClientInstance.GetByLabel_GetStructure(treeobj.FullPath, label, ref labelID, "", out discoveredPaths, out labelStructure, out rootID);
Code: Select all
ServerOperations.client.ClientInstance.UpdateLabelComment(nRepID, labelID, strComment)
Subscribe to the Fortress/Vault blog