Salesforce

Salesforce Platform Event

Parameter

Value

object

the salesforce object name

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 salesforce user account

password

the salesforce user accounts password

autoAssign

optional parameter, set this to true to leverage auto assignment in Salesforce

platformEvent="True"

to enable the platform events

Note that the object name is the API name of the platform event (with the __e).

The CLI will simply push records to to the Platform Event, it will not reconcile against any existing target objects.

<SalesforceTarget 
    platformEvent="True"
    object="Notification__e" 
    authUrl="String" 
    clientid="String" 
    clientsecret="String" 
    username="String"
    password="String">
  <ColumnMappings>
	<ColumnMapping sourceColumn="Name" targetColumn="Name-new" />
	<ColumnMapping sourceColumn="Number" targetColumn="Number_new" />
	<ColumnMapping sourceColumn="Date" targetColumn="Date_new" />
  </ColumnMappings>
  <SyncKey>
      <SyncKeyColumnReference name="Name" />
  </SyncKey>
      <NewRecordBehaviour type="INSERT" />
      <DroppedRecordBehaviour type="DELETE"/>
</SalesforceTarget>

Last updated