rforcecom.update: The 'salesforcer' backwards compatible version of...

View source: R/compatibility.R

rforcecom.updateR Documentation

The salesforcer backwards compatible version of RForcecom::rforcecom.update

Description

[Soft-deprecated]

Usage

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

Arguments

session

list; a list containing "sessionID", "instanceURL", and "apiVersion" as returned by RForcecom::rforcecom.login. This argument is ignored in all backward compatible calls because the authorization credentials are stored in an environment internal to the salesforcer package, so it is no longer necessary to pass the session in each function call.

objectName

character; the name of the Salesforce object that the function is operating against (e.g. "Account", "Contact", "CustomObject__c").

id

Record ID to update. (ex: "999x000000xxxxxZZZ")

fields

Field names and values. (ex: Name="CompanyName", Phone="000-000-000" )

Value

NULL if successful otherwise the function errors out


salesforcer documentation built on March 18, 2022, 6:26 p.m.