Learn R Programming

RForcecom (version 1.1)

rforcecom.update: Update a record

Description

Update a record

Usage

rforcecom.update(session, objectName, id, fields)

Arguments

session
Session data. It can be retrieve from rforcecom.login.
objectName
An object name. (ex: "Account", "Contact", "CustomObject__c")
id
Record ID to update. (ex: "999x000000xxxxxZZZ")
fields
Sets of field name and its value. (ex: Name="CompanyName", Phone="000-000-000" )

Value

No data.

Examples

Run this code
## Not run: 
#  # Updating a record
#  objectName <- "Account"
#  id <- "999x000000xxxxxZZZ"
#  fields <- c(Phone="9999-9999-9999")
#  rforcecom.update(session, objectName, id, fields)
#  ## End(Not run)

Run the code above in your browser using DataLab