Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a list which has exceeded the sp2010 list view threshold of 5000 items. Despite filtering the default view (or creating a new filtered view) with less than 5000 items, SOAP and REST queries still result in errors.

Is there any way to use SOAP or REST to interface with large lists? The queries I make will never return more than about 500 items.


2 Answers 2

You will need to disable resource throttling on a particular list. You can use following powershell script to do that:

$web = Get-SPWeb -Identity http://intranet.contoso.com/sites/contracts
$web.AllowUnsafeUpdates = $True
$list = $web.Lists["Projects"]
$list.EnableThrottling = $False
$web.AllowUnsafeUpdates = $False
Thanks for the reply, it turns out the problem can also be solved on the front end. –  Sinetheta Jan 2 '13 at 20:10
This worked great for a library we had containing over 38,000 items –  JMW Apr 16 at 15:07

It turns out that if you index a column, then filter against the indexed column, as long as what passes that filter is under the item limit the call will work.


This site is currently not accepting new answers.

Not the answer you're looking for? Browse other questions tagged .