Strategy ONE

Exporting a Document to PDF Using the URL API

The table below shows the URL parameters used to export a document to PDF using the URL API.

Argument Description

evt

3069 - fastPDFExport

Allows users to export report services documents directly to PDF

src

The page component that should handle the action and the event

documentID

Specifies the ID of the report services document to export to PDF

execFlags*

Flags to be used while executing a document

messageID*

Specifies the ID of an in-memory report services document. If present, the report services document is fetched from memory rather than executed

* optional parameters

The sample URL shown below illustrates how to export the "Inventory by Subcategory" document, 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=

&evt=3069

&src=mstrWeb.3069

&documentID=41B1166B4C84A759CC2C19BB07C2EC00

.NET environment:

http://webserver/MicroStrategy/asp/Main.aspx?

Server=localhost

&Project=MicroStrategy+Tutorial

&Port=0

&uid=Administrator

&pwd=

&evt=3069

&src=Main.aspx.3069

&documentID=41B1166B4C84A759CC2C19BB07C2EC00

See also: