Strategy ONE
Exporting a Report to PDF Using the URL API
The table below shows the URL parameters used to export a report to PDF using the URL API.
| Argument | Description |
|---|---|
|
evt |
3062 - fastPDFExport Allows users to export reports directly to PDF |
|
src |
The page component that should handle the action and the event |
|
reportViewMode |
Grid (1) or Graph (2) mode |
|
reportID |
Specifies the ID of the report to export to PDF |
|
execFlags* |
Flags to be used while executing a report |
|
resultFlags* |
Flags to be used while retrieving the report results |
* optional parameters
The sample URL shown below illustrates how to export the "Electronics Revenue vs. Forecast" report, which is part of the MicroStrategy Tutorial project, to PDF.
J2EE environment:
http://webserver/MicroStrategy/servlet/mstrWeb?
Server=localhost
&Project=MicroStrategy+Tutorial
&Port=0
&uid=Administrator
&pwd=
&src=mstrWeb.3062
&evt=3062
&reportViewMode=1
&reportID=EB3CD5D14F4C8C77782AC0882C986B8D
.NET environment:
http://webserver/MicroStrategy/asp/Main.aspx?
Server=localhost
&Project=MicroStrategy+Tutorial
&Port=0
&uid=Administrator
&pwd=
&src=Main.aspx.3062
&evt=3062
&reportViewMode=1
&reportID=EB3CD5D14F4C8C77782AC0882C986B8D
See also:
