Description Usage Arguments Value Examples
Creates an HTML table for all or selected reports in the [TRIGGER_PATH]/Reports/ folder. This table is used as part of a message being sent out to a receiving e-mail client.
1 | ListReports(path = NULL, SelectREPORT = NULL)
|
path |
string, path to the /Reports/ folder. |
SelectREPORT |
integer, Report ID value determined from MobileTrigger::ListReports() output when SelectREPORT = NULL |
If SelectREPORT = NULL: An HTML table of all scripts in the /Reports/ folder. If SelectREPORT is a Report ID number from the complete report list it only returns and HTML table with the selected report.
1 2 3 4 5 6 7 8 9 10 11 12 | ################################
# Get all the Available Reports #
################################
REPORTPATH <- "C:/Triggers/Reports/"
HTML.Message <- ListReports(path = REPORTPATH)
## Use the HTML.Message to send table of Reports with MailR package.
#############################
# Get Selected Reports #
#############################
HTML.Message <- ListReports(path = REPORTPATH, SelectREPORT = 1)
## Use the HTML.Message to send table of Selected Script with MailR package.
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.