View source: R/retrieve-metadata.R
sf_retrieve_metadata | R Documentation |
This function makes a request to retrieve metadata as a package XML files that can be modified and later deployed into an environment
sf_retrieve_metadata( retrieve_request, filename = "package.zip", check_interval = 3, max_tries = 20, verbose = FALSE )
retrieve_request |
a |
filename |
a file path to save the zip file in the event that it is downloaded. The name must have a .zip extension. The default behavior will be to save in the current working directory as "package.zip" |
check_interval |
|
max_tries |
|
verbose |
|
A list
of details from the created retrieve request
See the Salesforce documentation for the proper arguments to create a retrieveRequest. Here is a link to that documentation: https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_retrieve_request.htm
https://developer.salesforce.com/docs/atlas.en-us.api_meta.meta/api_meta/meta_retrieve.htm
## Not run: retrieve_request <- list(unpackaged=list(types=list(members='*', name='CustomObject'))) retrieve_info <- sf_retrieve_metadata(retrieve_request) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.