Controlling payload size

CRM.Launcher allows users to have full control over the payload size using the maxJsonLength property in the Launcher's application configuration file.

The QuickCampaign feature works better with small to medium set of records. A large set of records may lead to performance issues.

Note: Implement the changes to the launcher config file for both the client and the server

Add the following parameters to the config file:

<system.web.extensions>
    <scripting>
        <webServices>
            <jsonSerialization maxJsonLength="50000000">
            </jsonSerialization>
        </webServices>
    </scripting>
</system.web.extensions>

The value of the maxJsonLength attribute is maximum size in bytes of serialized/deserialized Json content. It is used to pack and unpack payload during communication between Launcher client and Launcher server.