Loading...

Throttling limit using Http parameter

Throttling limit using Http parameter

Home Forums QuickApps Forum Throttling limit using Http parameter

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #4644
      Anonymous
      Anonymous
      Participant

      I have some CAML in Quick apps but cant figure how to trim it to work with the Throttling limit as it keeps on showing a throttling limit error. Can anyone help?

      n

      <Eq>  <FieldRef Name=”Payment_x0020_Batch” />  <Value Type=”Lookup” Source=”HttpParameter” SourceName=”BATCHDETAIL” /></Eq>

      n

       

      n

      Thanks

    • #7197
      Anonymous
      Anonymous
      Participant

      Hi ,

      n

      Could you please give me the error message?

      n

      BTW. If you don't care about the performance, you can simply disable the throttling of the relevant SP list to avoid the error. In the following powershell script, replace the values of $siteURL and $listName with your actual site url and list name. Save the script to a *.ps1 file. Then run it on your SharePoint Server.

      n

      Add-PSSnapin Microsoft.SharePoint.PowerShell

      n

      $siteURL = "http://siteUrl";
      $listName = "listName";

      n

      $spWeb = Get-SPWeb -Identity $siteURL;
      $list = $spWeb.Lists[$listName];
      Write-Host $list.EnableThrottling;

      n

      #Disable the throttling
      $list.EnableThrottling = $false;

      n

      If you want to enable the throttling again, you just need to change the $false to $true.

      n

      Thanks,

      n

Viewing 1 reply thread

You must be logged in to reply to this topic.