User Guide

cfreport 363
History
ColdFusion MX 7: Added support for the ColdFusion Report Builder.
ColdFusion MX: Changed data source connection behavior: Crystal Reports now establishes an
independent connection to the data source. The connection is not subject to any ColdFusion data
source-specific restrictions. For example, the Crystal Reports server can access a data source,
regardless of whether it is disabled in the ColdFusion MX Administrator.
Attributes
Attribute Applies
to
Req/
Opt
Default Description
template Report
Builder
Req Specifies the path to the report definition file,
relative to the web root.
format Report
Builder
Req Specify one of the following:
PDF
FlashPaper
Excel
name Report
Builder
Opt The name of the ColdFusion variable that will hold
the report output. You cannot specify both
name and
filename.
filename Report
Builder
Opt The filename to contain the report. You cannot
specify both
name and filename.
query Report
Builder
Opt The name of the query that contains input data for
the report. If you omit this parameter, the report
definition obtains data from the internal SQL or from
cfreportparam items.
overwrite Report
Builder
Opt No Specifies whether to overwrite files that have the
same name as that specified in the
filename
attribute. Specify Yes or No.
encryption Report
Builder
Opt None (
format="PDF" only) Specifies whether the output is
encrypted. Specify one of the following:
128-bit
40-bit
none
ownerpassword Report
Builder
Opt (
format="PDF" only) Specifies an owner password.
userpassword Report
Builder
Opt (
format="PDF" only) Specifies a user password.