Versions Compared

Key

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

...

The FuseIT agent can be registered in S4SMapping.config. Below is the code for it (it is commented out by default):

Code Block
languagexml
<scheduling>
    <!-- S4S pushes Sitecore DMS data to Salesforce at the specified interval -->
    <agent name="S4SUpdateAnalytics" type="FuseIT.S4S.WebToSalesforce.WebToEntity" method="BulkUpdateSitecoreAnalyticsInSalesforce" interval="00:30:00"/>
</scheduling>

...

The FuseIT agent uses the Bulk API to update analytics in Salesforce. There are a number of configuration entries in the S4SAnalytics.config file that are used in this process which are configurable.

Code Block
languagexml
<!-- The number of Salesforce entities per batch to process analytics. -->
<setting name="S4S.Analytics.BulkUpdateAnalyticsBatchSize" value="10000"/>
 
<!-- The number of records per batch to be sent to the Salesforce bulk API. -->
<setting name="S4S.Analytics.BulkUpdateBatchSize" value="5000"/>
 
<!-- The number of seconds to wait for all batches in the job to complete and then get the results.
     The bulk update will be cancelled if the specified time is exceeded although the bulk API jobs in
     Salesforce will keep running.If set to 0 the bulk update will wait until all batches have finished.
-->
<setting name="S4S.Analytics.BulkUpdateResultsWaitTime" value="1800"/>

...