Question

Locked

Item list only returns first 256

By alvin.jones ·
I am trying to get a list of all the items in a project but I only get the first 256 items. what am I doing wrong? This is the code I use.

Set oType = oServer.typeForName(oServer.TypeNames.File)

Set oFLM = oFLMFact.Create(oView)
' Include all folders
oFLM.includeFolders oView.RootFolder.SubFolders.Item(8), -1
' Create the Type objects
' Files
Set oFLM = oILMFact.Create(oType, oFLM)
starflag = 0
For Each oFile In oFLM.ItemsArray
If oFile.Name = filestr Then
starflag = 1
' Build the Hyperlink
filestr = "starteam://" & oServer.Address & ":" & oServer.Port _
& "/" & oProject.ID & ";ns=Project;scheme=id/" & oView.ID _
& ";ns=View;scheme=id/" & oFile.ID _
& ";ns=File;scheme=id;scope=full"
Exit For
End If
Next

This conversation is currently closed to new comments.

0 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Share your knowledge
Back to Networks Forum
0 total posts (Page 1 of 1)  

Related Discussions

Related Forums