Send Email Command for a Scheduled External Application Report

The following is an example of a script you can use to command an email to be sent for a scheduled external application report.

 

Sample Script

executePropertyCommand("System1.ApplicationView:ApplicationView.Links.Link1","AppName","SendEmailExecute",{"FileName":"","FileExtension":"0",FilePath”:”"TimeStamp":"","Section":1 })

Legend for Script Commands:

  • Name of Fixed Link: “System1.ApplicationView:ApplicationView.Links.Link1“
  • Command: “SendEmailExecute”
  • File Name: Enter as per user requirement
  • (Optional) File Path: Enter as per user requirement. If none specified, default file name is used: LinkName_Date_Time.FileExtension.
  • (Optional) File Extension: 0 is for Pdf, 1 for Docx, 2 for Xlxs
  • Time stamp: As per user recommendation for example, mm-dd-yyyy
  • Section: Save document 1, Caching 2, Viewer 0

Example Email Using Default Email Settings

Below is a sample of an email, if the default settings are accepted the default settings. Otherwise, you can add a Subject and text to the body of the email.

Related Topics

Use this script with the following procedure:

Generating Email Attachments for Fixed Link Reports