Question Locked

StarTeam SDK

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I am connecting to Starteam from a Word macro to retrieve a list of CR's and impacts. I can get a lsit containing the CR's and impacts but cannot find anyway to distinguish between the CR's and impacts or link the Impacts to the relevant CR's.
After connecting to the Starteam server I am using this code to get the correct view.

Set oCR = oServer.typeForName(oServer.TypeNames.CHANGEREQUEST)
Set oFLM = oFLMFact.Create(oView)
oFLM.includeFolders oView.RootFolder, -1
Set oCRLM = oILMFact.Create(oCR, oFLM).

Can anyone help me with this?

4 replies

by Former member

Folder

The Folder object represents a StarTeam folder. Each View object has a RootFolder property, whose value is the Folder object representing the root folder of the view. Each folder has a SubFolders property, whose value is a collection of the subfolders of this one, and a ParentFolder property, whose value is the parent folder. The SubFolders and ParentFolder properties can be used to traverse the folder hierarchy of a StarTeam view.

Folders can contain Items of various types, such as Files, Change Requests, and so on. Items of a particular type are retrieved using the getItems() method of the Folder object. Items are discussed in more detail in the following section.
http://techpubs.borland.com/starteam/2008r2/en/SDK_Documentation/guide/index.html

Please post back if you have any more problems or questions.
If this information is useful, please mark as helpful. Thanks.

by alvin.jones

Thanks, unfortunatley I have been unable to get this method working. The SDK documentation gives very little helpful information.

by Former member

Just give it a go and find out.
Hope all goes well.

Please post back if you have any more problems or questions.
If this information is useful, please mark as helpful. Thanks.

This discussion is closed to new replies.