sf_list_reports {salesforcer} | R Documentation |
List reports
Description
Displays a list of full list of reports based on the Report
object. If
recent
is up to 200 tabular, matrix, or summary reports that you
recently viewed. To get additional details on reports by format, name, and other
fields, use a SOQL query on the Report object.
Usage
sf_list_reports(recent = FALSE, as_tbl = TRUE, verbose = FALSE)
Arguments
recent |
|
as_tbl |
|
verbose |
|
Value
tbl_df
by default, or a list
depending on the value of
argument as_tbl
Salesforce Documentation
Note
This function will only return up to 200 of recently viewed reports when the
recent
argument is set to TRUE
. For a complete details you must
use sf_query
on the report object.
See Also
Other Report functions:
sf_copy_report()
,
sf_create_report()
,
sf_delete_report()
,
sf_describe_report_type()
,
sf_describe_report()
,
sf_execute_report()
,
sf_list_report_fields()
,
sf_list_report_filter_operators()
,
sf_list_report_types()
,
sf_query_report()
,
sf_run_report()
,
sf_update_report()
Examples
## Not run:
# to return all possible reports, which is queried from the Report object
reports <- sf_list_reports()
# return the results as a list
reports_as_list <- sf_list_reports(as_tbl=FALSE)
# return up to 200 recently viewed reports
all_reports <- sf_list_reports(recent=TRUE)
## End(Not run)