Wednesday 29 April 2015

Disable Throttling for a single list


In situation where you need to disable throttle limit but you don’t want to disable for the whole web application as it will certainly cause performance issues, you can use the commands mentioned below to disable throttling for one lists only. Limit mentioned in the Central Administration will be applicable for all the other lists.
Example Scenario: if you are using InfoPath form with 2 fields (controls) on it and want field B to auto populate based on the value in field A. value are coming from a list that has more than 5k items in it , you might run in to issues.
$Site  =  Get-SPWeb -Identity <SiteURL>
$List  =  $Site.Lists[“List Name”]
$List.EnableThrottling =  $false

$List.Update()

No comments:

Post a Comment