sf_list_metadata {salesforcer} | R Documentation |
List All Objects of a Certain Metadata Type in Salesforce
Description
This function takes a query of metadata types and returns a summary of all objects in salesforce of the requested types
Usage
sf_list_metadata(queries, verbose = FALSE)
Arguments
queries |
a |
verbose |
|
Value
A tbl_dfs
containing the queried metadata types
Note
Only 3 queries can be specified at one time, so the list length must not exceed 3.
References
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta
Examples
## Not run:
# pull back a list of all Custom Objects and Email Templates
my_queries <- list(list(type='CustomObject'),
list(folder='unfiled$public',
type='EmailTemplate'))
metadata_info <- sf_list_metadata(queries=my_queries)
## End(Not run)