Throttle the Data Connection Response Size

Scenario/Problem: You need to increase or decrease the data connection response size.

Solution: Use the MaxDataConnectionResponseSize parameter with the Set-SPInfoPathFormsService cmdlet.

When connecting to data sources, you do not want to overload other systems. Limiting the response size determines how many kilobytes the data connection can process. You can modify the setting by using the MaxDataConnectionReponseSize parameter with the number of kilobytes, as shown in Listing 12.2.

Listing 12.2. Data Connection Response Size Cmdlet Line

Set-SPInfoPathFormsService -MaxDataConnectionResponseSize 3000

Tip

The default value of 1500 (1,500KB) is usually a good setting. You do not want to strain other ...

Get PowerShell™ for SharePoint® 2013 How-To now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.