Authentication

Function to authenticate to your Salesforce Org.

sf_auth()

Log in to Salesforce

Query/Search Functions

Functions to query and search records.

sf_query()

Perform SOQL Query

sf_search()

Perform SOSL Search

CRUD Functions

Functions to perform create, retrieve, update, and delete (CRUD) operations on records.

sf_create()

Create Records

sf_retrieve()

Retrieve Records By Id

sf_update()

Update Records

sf_upsert()

Upsert Records

sf_delete()

Delete Records

sf_undelete()

Undelete Records

sf_get_deleted()

Get Deleted Records from a Timeframe

sf_get_updated()

Get Updated Records from a Timeframe

Attachment Functions

Convenience functions to work with attachments.

sf_create_attachment()

Create Attachments

sf_download_attachment()

Download an Attachment

sf_update_attachment()

Update Attachments

sf_delete_attachment()

Delete Attachments

Bulk API Functions

Convenience functions to perform async CRUD and query operations.

sf_run_bulk_query() sf_query_bulk()

Run bulk query

sf_run_bulk_operation() sf_bulk_operation()

Run Bulk Operation

Report Functions

Functions to create, retrieve, update, delete and query reports and their data.

sf_run_report()

Get a report's data in tabular format

sf_list_reports()

List reports

sf_describe_report()

Describe a report

sf_create_report()

Create a report

sf_copy_report()

Copy a report

sf_update_report()

Update a report

sf_execute_report()

Execute a report

sf_delete_report()

Delete a report

sf_list_report_instances()

List report instances

sf_get_report_instance_results()

Get report instance results

sf_delete_report_instance()

Delete a report instance

sf_list_report_types()

List report types

sf_describe_report_type()

Describe a report type

sf_list_report_fields()

Get a list of report fields

sf_list_report_filter_operators()

List report filter operators

Dashboard Functions

Functions to create, retrieve, update, delete and query dashboards and their data.

sf_list_dashboards()

List dashboards

sf_describe_dashboard()

Describe a dashboard

sf_describe_dashboard_components()

Describe dashboard components

sf_get_dashboard_status()

Get the status of a dashboard

sf_get_dashboard_results()

Get the results of an existing dashboard

sf_get_dashboard_data()

Get dashboard data in a tabular format

sf_filter_dashboard_operators_list()

List dashboard filter operators

sf_filter_dashboard_options_analysis()

Get an analysis of the filter options for a dashboard

sf_refresh_dashboard()

Refresh an existing dashboard

sf_copy_dashboard()

Copy a dashboard

sf_update_dashboard()

Update a dashboard

sf_set_dashboard_sticky_filter()

Set a sticky dashboard filter

sf_delete_dashboard()

Delete a dashboard

Metadata Functions

Functions to create, retrieve, update, and delete metadata.

sf_create_metadata()

Create Object or Field Metadata in Salesforce

sf_update_metadata()

Update Object or Field Metadata in Salesforce

sf_upsert_metadata()

Upsert Object or Field Metadata in Salesforce

sf_delete_metadata()

Delete Object or Field Metadata in Salesforce

sf_rename_metadata()

Rename Metadata Elements in Salesforce

sf_read_metadata()

Read Object or Field Metadata from Salesforce

sf_list_metadata()

List All Objects of a Certain Metadata Type in Salesforce

sf_retrieve_metadata()

Make A Request to Retrieve the Metadata

sf_describe_metadata()

Describe the Metadata in an Organization

sf_describe_objects()

SObject Basic Information

sf_describe_object_fields()

Describe Object Fields

Salesforce Org Utility Functions

Functions to perform basic org-wide routines.

sf_merge()

Merge Records

sf_convert_lead()

Convert Leads

sf_find_duplicates()

Find Duplicate Records

sf_find_duplicates_by_id()

Find Duplicate Records By Id

sf_empty_recycle_bin()

Empty Recycle Bin

sf_get_all_jobs_bulk()

Get All Bulk API Jobs

sf_get_all_query_jobs_bulk()

Get All Bulk API Query Jobs

sf_list_rest_api_versions()

List REST API Versions

sf_list_resources()

List the Resources for an API

sf_list_api_limits()

List the Limits for an API

sf_list_objects()

List Organization Objects and their Metadata

sf_user_info()

Return Current User Info

sf_server_timestamp()

Salesforce Server Timestamp

sf_set_password()

Set User Password

sf_reset_password()

Reset User Password

sf_control()

Auxiliary for Controlling Calls to Salesforce APIs

Backward Compatibility with RForcecom

Functions that mimic {RForcecom} to ease code transitions between {salesforcer} and {RForcecom}.

rforcecom.login()

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

rforcecom.getServerTimestamp()

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

rforcecom.getObjectDescription()

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

rforcecom.create()

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

rforcecom.retrieve()

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

rforcecom.update()

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

rforcecom.delete()

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

rforcecom.upsert()

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

rforcecom.search()

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

rforcecom.query()

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

rforcecom.bulkQuery()

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