Beth -
We upgraded to 8.0.1. Using c#, how can we get a list of files (with their modification dates if possible) associated with a label. The files can be in any folder and so we need to have this done recursively.
Thanks -
Eric
Search found 60 matches
- Mon Mar 23, 2015 10:25 am
- Forum: Support (Vault)
- Topic: C# API: Return List<string> of files from a selected Label
- Replies: 14
- Views: 13620
- Tue Mar 10, 2015 12:58 pm
- Forum: Support (Vault)
- Topic: C# API: Return List<string> of files from a selected Label
- Replies: 14
- Views: 13620
Re: C# API: Return List<string> of files from a selected Lab
Beth, We are cooking with gas here. The logic you have above works...but only for the files attached to the label at the root level. LAbel: TEST Included Files: $/arrow/a.pl $/arrow/b.sh $/arrow/c.sas $/arrow/projecta/d.sh $/arrow/projectb/e.sas When using the code above, I get the first 3 returned ...
- Wed Mar 04, 2015 10:59 am
- Forum: Support (Vault)
- Topic: Upgrade 6.1 to 8.0 Questions
- Replies: 1
- Views: 3707
Upgrade 6.1 to 8.0 Questions
1. Can both the 8.0 and 6.1 clients live on the same Remote Desktop Server? Can both be running? 2. Does an upgrade (uninstall/new install) Of the client require a Remote Desktop Server reboot? Are there new C++ libraries or anything else that we need to be on the lookout for? 3. Will the old 6.1 cl...
- Tue Feb 17, 2015 12:25 pm
- Forum: Support (Vault)
- Topic: C# API: Return List<string> of files from a selected Label
- Replies: 14
- Views: 13620
Re: C# API: Return List<string> of files from a selected Lab
I figured out the User issue. Here is the current Error: The thread 0x1ad4 has exited with code 259 (0x103). A first chance exception of type 'System.Exception' occurred in VaultClientOperationsLib.dll The server did not return a repository delta or file delta for item $/arrow at VaultClientOperatio...
- Wed Feb 11, 2015 3:41 pm
- Forum: Support (Vault)
- Topic: C# API: Return List<string> of files from a selected Label
- Replies: 14
- Views: 13620
Re: C# API: Return List<string> of files from a selected Lab
Okay. Using: public bool GetByLabel_GetStructure(string currentPathToLabelItem, string labelName, ref long labelID, string labelSubItemPath, out string[] discoveredSubItemPaths, out VaultClientOperationsLib.VaultClientTreeObject labelStructure, out long rootID) Member of VaultClientOperationsLib.Cli...
- Mon Feb 09, 2015 2:44 pm
- Forum: Support (Vault)
- Topic: C# API: Return List<string> of files from a selected Label
- Replies: 14
- Views: 13620
Re: C# API: Return List<string> of files from a selected Lab
Beth - Thank you for looking into this for me. I was hoping you could help me implement this. There are 2 versions of this public bool GetByLabel_GetStructure(string currentPathToLabelItem, string labelName, ref long labelID, string labelSubItemPath, out string[] discoveredSubItemPaths, out VaultCli...
- Fri Feb 06, 2015 2:46 pm
- Forum: Support (Vault)
- Topic: C# API: Return List<string> of files from a selected Label
- Replies: 14
- Views: 13620
- Mon Feb 02, 2015 2:52 pm
- Forum: Support (Vault)
- Topic: C# API: Return List<string> of files from a selected Label
- Replies: 14
- Views: 13620
C# API: Return List<string> of files from a selected Label
Hi - I am attempting to return a list of files associated with a given label. I have successfully returned all Labels associated with a project (e.g. $/Projects) using some sample classes in the following post: http://support.sourcegear.com/viewtopic.php?f=31&t=11600 In those sample classes, the...
- Tue Dec 09, 2014 11:23 am
- Forum: Examples (API)
- Topic: Get Valid Labels Example
- Replies: 8
- Views: 52651
Re: Get Valid Labels Example
The above code gets just the labels under the main branch $/EJH_Test. Replace part of the code with this below to get all of the labels under $/EJH_Test recursively: //Take strQueryToken and load up your aultLabelItemX Array ServerOperations.client.ClientInstance.GetLabelQueryItems_Recursive(labels,...
- Tue Dec 09, 2014 11:02 am
- Forum: Examples (API)
- Topic: Get Valid Labels Example
- Replies: 8
- Views: 52651
Re: Get Valid Labels Example
Thanks Beth. For posterity, here is the code I used to query a label: public static void ValidLabels() { string url = "https://vault.xxx.com/VaultService"; string username = "username"; string password = "password"; string repository = "RepositoryName"; // Set...
- Mon Dec 08, 2014 3:16 pm
- Forum: Examples (API)
- Topic: Get Valid Labels Example
- Replies: 8
- Views: 52651
Re: Get Valid Labels Example
I guess I'm also looking for an updated API help file. The one included does not cover most methods available.
- Mon Dec 08, 2014 12:51 pm
- Forum: Examples (API)
- Topic: Get Valid Labels Example
- Replies: 8
- Views: 52651
Get Valid Labels Example
Can you provide an example of the usage of ClientInstance.BeginLabelQuery? I want to list all of the Lables under Project $/EJH_Test void ClientInstance.BeginLabelQuery(string strItemPath, long nObjID, bool bGetRecursive, bool bGetInherited, bool bGetFileItems, bool bGetFolderItems, int nRowLimit, o...
- Mon Dec 08, 2014 11:31 am
- Forum: Questions (API)
- Topic: C#: List Available Labels for a Project
- Replies: 3
- Views: 28517
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.
- Mon Dec 08, 2014 9:53 am
- Forum: Questions (API)
- Topic: C#: List Available Labels for a Project
- Replies: 3
- Views: 28517
C#: List Available Labels for a Project
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 ...
- Thu Nov 13, 2014 10:30 am
- Forum: Support (Vault)
- Topic: DELETE Promoted Files on multiple servers
- Replies: 1
- Views: 3625
DELETE Promoted Files on multiple servers
System: Linux (Red Hat) Connection via Windows CLC over Samba Scenario: In the development area I create a script, add it to the repository and promote it via CLC to PRODServer. Later we decide the script is no longer needed. I select the file in the GUI, right click, select DELETE and check the opt...