Skip to contents

[Stable]

This function takes the name of an object in Salesforce and returns a description of the fields on that object by returning a tibble with one row per field.

Usage

sf_describe_object_fields(object_name)

Arguments

object_name

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

Value

A tbl_df containing one row per field for the requested object.

Note

The tibble only contains the fields that the user can view, as defined by the user's field-level security settings.

Examples

if (FALSE) { # \dontrun{
acct_fields <- sf_describe_object_fields('Account')
} # }