Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Licensing

Please To work against a production instance of Salesforce a G4S xml license file is required. The application needs to know how to find the license file so please adjust the .config file as follows.

Note the FuseIT.G4S.SalesforceConnector section name and the licenseFileLocation  value is required.

Code Block
languagexml
linenumberstrue
<configuration>
  <configSections>
    <!-- ... -->
    <section name="FuseIT.G4S.SalesforceConnector" type="FuseIT.G4S.SalesforceConnector.SalesforceSettingsSection, FuseIT.G4S.SalesforceConnector"/>
    <section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net"/>
  </configSections>

  <!-- ... -->

  <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.
    -->
    <binding timeOutMilliseconds="120000" clientId="" uploadBatchSize="200"/>
    <!-- Config to explicitly set the System.Net.ServicePointManager.SecurityProtocol -->
    <securityProtocols>
      <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>

    <!-- The location of the G4SLicense.xml file provided by FuseIT -->
    <licenseFileLocation value="C:\SomePath\G4SLicense.xml" />

  </FuseIT.G4S.SalesforceConnector>

  <!-- ... -->

</configuration>

...