GenerateReport
Description:
Sends a Jasper or Business Objects Enterprise XIR2 report to a printer, exports it as a file, or sends it to the SMTP server for processing by an email client.
Input Properties
reportid
Description:
Identifier of the Report as registered in Business Objects.
Required:
Yes
Comments:
This must be exactly the same name given to the report when it was published in the Business Objects reporting tool.
reportversionid
Description:
Version number of the Report SDI.
Required:
Yes
reporteventid
Description:
Identifier of a Report Event.
Required:
See Comments.
Comments:
If you want to regenerate a report event, you must pass the ReportEventID instead of ReportID.
addressid
Description:
Identifier of an Address SDI that specifies the target printer.
Required:
See Comments.
Comments:
If you want to send the report to a printer, you must enter the identifier of an Address SDI that specifies the target printer. In this case, you must also specify an addresstype.
addresstype
Description:
Address Type for the SDI identified by addressid.
Required:
Only if you specify an addressid.
destination
Description:
Target printer, service, or file. Possible values:
  • printer (default) = Sends the report to the printer defined by the addressid and addresstype.
  • email = Sends the report to your SMTP server with details specified by emailfrom, emailtolist, emailcclist, emailsubject, and emailmessage.
  • file = Exports the report as a file defined by the filename and filetype.
Required:
No (will apply the default if no value specified).
filetype
Description:
Format of the file specified by the File Name: PDF, XLS, or HTML.
Required:
Only if you specify a filename.
filename
Description:
Name of the file that is created to contain the report. When the destination is a TempFile, the path here is ignored;only the filename and extension are required.
Required:
Only if the destination is file.
debuglog
Description:
Determines whether or not (Y/N) the Action outputs debug messages. This is useful when tracing is off.
Required:
No
emailfrom
Description:
Email addresses to which the recipient can reply.
Required:
Only if the destination is email.
emailtolist
Description:
Email addresses to which the report is sent.
Required:
Only if the destination is email.
emailcclist
Description:
List of recipients copied on the email.
Required:
No
emailsubject
Description:
Email "Subject" (text description of email).
Required:
No
emailmessage
Description:
Email message to include with the Report.
Required:
No
param1
Description:
First argument specified in the report.
Required:
No
Comments:
Use param1, param2, and param3 if you want parameters (arguments) in your report to be input properties of the report itself. Each parameter (argument) you specify must already be in the report, and you must specify them here in the same order as they appear in the report.
You can specify up to 10 parameters (arguments). Sapphire starts you off with three (param1 through param3). You can add the additional parameters (arguments) by adding properties named param4 through param10.
param2
Description:
Second argument specified in the report.
Required:
No
param3
Description:
Third argument specified in the report.
Required:
No
Additional Information
Additional information concerning this Action:
None.
Copyright © 1999-2016 LABVANTAGE Solutions, Inc.