QueryReport Action Parameters
Supported QueryReport Action Parameters.
The QueryReport
action supports the following input arguments:
link
Defines the context for the query's execution: If set to Record
, the
current record is passed to the query as a parameter. If undefined, the query is
executed without context.
query
The name of the query to be executed in the background.
This parameter is mandatory.
scope
Defines which kind of query is to be used if two queries with the same name exist:
Public
or Private
.
This parameter is supported by both QueryRun
and Query
Designer
actions.
reportName
The name of the transformation (*.XSLT
file) to be used for generating
the report from the exported XML, e.g. ExportListHtml
.
The reportName
argument can contain additional export options, e.g.
ExportExpandPdf[Export.Xml.FatClientCompatible=true],
Format.application/pdf
to use an Aurea CRM win-compatible schema and a PDF
plug-in.
For details on the syntax and all available options, see and Export Options.
If undefined, an XML export without transformation is generated.
contentDisposition
Defines the way a report is presented:
-
inline
: The browser tries to display the report results in the current browser window. -
attachment
: The browser asks the user to save the report results or open them in a separate window.
With contentDisposition=inline
a targetFrame
has to be
specified for the report to be displayed in. For further details, see targetFrame.
Default: attachment
contentDiposition
/ targetFrame
settings. example - opening a report in a new tab instead
of inline.targetFrame
The frame in which the report is displayed if
contentDisposition=inline
.
You can define the following:
- If undefined, the report is opened in the current worker window.
- If set to the name of a window, the report is opened in the respective window.
- If set to
_blank
, the report is opened in a new window or browser tab, depending on the browser settings. - If set to
CreateNewTab
, the report is opened in a new tab in Aurea CRM.Web. - If set to
ReUse("MyTabName")
, the report is opened in the specified tab of Aurea CRM.Web.
To display a report in a form, use the FormFrame
widget. Use the
widget's name
parameter to specify a name for the iframe where you want
to display the report, e.g. "myIframe"
. Example - In the action
definition, for a button on the form, define targetFrame =
myIframe
.
caption
Defines a name for the report. The semantics of this caption depends on the transformation itself, it can be written to the meta-data of the document, used as a file name etc.
exportFatClientCompatible
Determines the XML schema used by the export:
-
true
: the XML export uses a Aurea CRM win-compatible schema. -
false
: the XML export uses the Aurea CRM.Web schema. This is the default.