Salesforce Push Topic

Salesforce Push Topic Event

Parameter

Value

object

the salesforce object name auth

authUrl

the url that issues the token, e.g. https://test.salesforce.com/services/oauth2/token

clientId

the encrypted client id for the connected app

clientSecret

the encrypted client secret for the connected app

username

the encrypted salesforce user account

password

the encrypted salesforce user account password

autoOffsetReset

Earliest, Latest or None

topic

Add the Topic

connectionAttributes

Add Connection Attributes

Data Sync Configuration

Use SalesforcePushTopicDataSource as the source for a push topic.

The Id column is mandatory in the source.

Sample Data Sync Config

<?xml version="1.0" encoding="utf-16" ?>
<BatchDataSyncConfig name="Real Time Sync - LeadsTopic" version="1.0.0" xmlns="http://www.cinchy.co">
<SalesforcePushTopicDataSource type="Event">
<Schema>
<Column ordinal="1" name="Id" dataType="Text" maxLength="100" />
<Column ordinal="2" name="Name" dataType="Text" maxLength="100" />
<Column ordinal="3" name="Email" dataType="Text" maxLength="100" />
</Schema>
</SalesforcePushTopicDataSource>
<CinchyTableTarget model="" domain="Sales" table="Contacts">
<ColumnMappings>
<ColumnMapping sourceColumn="Id" targetColumn="Id" />
<ColumnMapping sourceColumn="Name" targetColumn="Name" />
<ColumnMapping sourceColumn="Email" targetColumn="Email" />
</ColumnMappings>
<SyncKey>
<SyncKeyColumnReference name="Id" />
</SyncKey>
<NewRecordBehaviour type="INSERT" />
<ChangedRecordBehaviour type="UPDATE" />
<DroppedRecordBehaviour type="DELETE" />
</CinchyTableTarget>
</BatchDataSyncConfig>