2

I want to create a application to export Large Lists to csv in 2007 where the threshold is 2000 items. What is the best approach? i need to export 1.000.000 items in the end. I know when you delete items you can use batches is this possible by retrieving data as well?

Or should i use the portalsitemap provider or...

1

1 Answer 1

3

If you just want to read through all the items once the portalsitemap provider is not going to help you.

The easist is just to read the items using an SPQuery + SPList.GetItems using SPListItemCollectionPosition to do paging.

I'd sort the items by ID so they can't move while you're reading

1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.