View source: R/compatibility.R
rforcecom.bulkAction | R Documentation |
salesforcer
backwards compatible version of the RForcecom function
rforcecom.bulkAction
This function is a convenience wrapper for submitting bulk API jobs
rforcecom.bulkAction( session, operation = c("insert", "delete", "upsert", "update", "hardDelete"), data, object, external_id_fieldname = NULL, multiBatch = TRUE, batchSize = 10000, interval_seconds = 5, max_attempts = 100, verbose = FALSE )
session |
|
operation |
a character string defining the type of operation being performed |
data |
a matrix or data.frame that can be coerced into a CSV file for submitting as batch request |
object |
a character string defining the target salesforce object that the operation will be performed on |
external_id_fieldname |
|
multiBatch |
a boolean value defining whether or not submit data in batches to the API |
batchSize |
an integer value defining the number of records to submit if multiBatch is true. The max value is 10,000 in accordance with Salesforce limits. |
interval_seconds |
an integer defining the seconds between attempts to check for job completion |
max_attempts |
an integer defining then max number attempts to check for job completion before stopping |
verbose |
|
A tbl_df
of the results of the bulk job
https://developer.salesforce.com/docs/atlas.en-us.api_asynch.meta/api_asynch
## Not run: # update Account object updates <- rforcecom.bulkAction(session, operation = 'update', data = my_data, object = 'Account') ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.