Discussion Forum for StarTeam Users
Posted by Greg Spall on May 30, 2003 at 13:18:42:
In Reply to: Following a Shortcut (STW) posted by Akeel Nazir on May 29, 2003 at 06:28:30:
: How do I follow a shortcut programatically. I'm trying to mass-checkout files from StarTeam 5.2 repository, but shortcuts is a potential bottleneck. Please let me know if anyone has some code written for a similar task.
: Warm Regards
I don't know if this helps (different versions ..)
But I have StarTeam 5.1, and using the SDK:
IstFile object has a property: References.
It's a collection; you can systematically rip through that list (essentially an array), and find the items you're looking for.
(Passed in: oleobject aole_File )
ll_FileTotal = aole_File.References.Count()
FOR ll_Counter = 1 TO ll_FileTotal
lole_Item = aole_File.References.Item[ll_Counter - 1]
IF lole_Item.View.Name = "yyy" THEN
// process file ...
// if it exists in the view: "yyy"
Post a Followup