The following appSettings entries can be defined in the .config file to override the default settings.
Code Block |
---|
<!--Set the download block size. Default set to 16k bytes --> |
...
<add key="bufferSize" value="16"/> |
...
...
<!--Set the maximum retry value. If the maxRetry value is 0 the download operation will be tried only once. Default value is set to 3 --> |
...
<add key="maxRetry" value="3"/> |
...
<!-- Should the indexing for file names start at 0? Set to false for indexing that starts at 1. Default is to start at 0. --> |
...
<add key ="zeroBasedIndexing" value="true"/> |
The FuseIT.G4S.SalesforceConnector section provides additional control of how the application interacts with the Salesforce APIs
Code Block | ||
---|---|---|
| ||
<FuseIT.G4S.SalesforceConnector> |
...
<!-- |
...
timeOutMilliseconds: |
...
Indicates the time an XML Web service client waits for a synchronous XML Web service |
...
request to complete (in milliseconds). |
...
clientId: |
...
Partner application API token (Case sensitive). Required to work with Professional Edition orgs. |
...
uploadBatchSize: |
...
The maximum number of records that can be sent to Salesforce in an upload operation. |
...
This limit is defined by Salesforce. |
...
allowExistingSObjectsWithoutId: |
...
Can an existing sObject be created without the ID? |
...
--> |
...
<binding timeOutMilliseconds="120000" clientId="" uploadBatchSize="200" allowExistingSObjectsWithoutId="true"/> |
...
<!-- Config to explicitly set the System.Net.ServicePointManager.SecurityProtocol --> |
...
<securityProtocols> |
...
<!-- System.Net.SecurityProtocolType --> |
...
<securityProtocol securityProtocolType="Tls" /> |
...
<securityProtocol securityProtocolType="Tls11" /> |
...
<securityProtocol securityProtocolType="Tls12" /> |
...
</securityProtocols> |
...
<!-- Speedup Keyprefix lookups for known values --> |
...
<keyPrefixes> |
...
<add key="Lead" value="00Q"/> |
...
<add key="Contact" value="003"/> |
...
<add key="User" value="005"/> |
...
<add key="Organization" value="00D"/> |
...
</keyPrefixes> |
...
</FuseIT.G4S.SalesforceConnector> |