View source: R/retrieve-metadata.R
sf_retrieve_metadata_check_status | R Documentation |
This function returns details about an initiated retrieveMetadata request and saves the results into a zip file
sf_retrieve_metadata_check_status(
id,
include_zip = TRUE,
filename = "package.zip",
verbose = FALSE
)
id |
|
include_zip |
|
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 |
verbose |
|
A list
of the response
This function is meant to be used internally. Only use when debugging.
## Not run:
retrieve_request <- list(unpackaged=list(types=list(members='*', name='CustomObject')))
retrieve_info <- sf_retrieve_metadata(retrieve_request)
# check on status, this will automatically download the contents to package.zip when ready
retrieve_status <- sf_retrieve_metadata_check_status(retrieve_info$id)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.