Hi,
This probably is a job for the GetNodesInContainer() but I need some help with the options, and how to paginate the call. I'm working with CS 10.0 so please no solutions that involve upgrading coz that ain't going to happen.
I'm trying to write an app that will "discover" what is contained within Content Server (and no, I'm not trying to pull data *out* of Content server to go to an OT competitor - this actually has to do with a chunked move). I noticed that the way GetNodesInContainer works is that you could theoretically go multiple depths, which is an interesting feature but not one I need right now. What I do need is the ability to set a page limit, but know when I have more pages. Example, say I want to get the children of a big email folder that has 10,000+ objects. If I try and return an array of 10,000 items that is going to time out my request, and also take up a ton of memory. But since the call returns a Node[], if I set a reasonable maxItems, I will miss a whole bunch and don't have a good way of paging this.
What are others doing to fake out pagination for the retrieval of children ofa folder? Also, what are folks doing to limit the results to just container objects (folders, email folders, projects, etc)?
Thanks in advance
-Hugh