You can use a uniform resource locator (URL) request to preview or edit reports, or even design new ones from a specified model.
http://server/?param="string"&ReportAction=enum
Argument | Description |
---|---|
server | Replace this with the name or IP address of the computer on which you run the report server. |
? | The question mark indicates to ActiveReports Server that the rest of the URL contains parameters and an action to perform. |
param | Replace this with the parameter that you want to use. Select from ModelName, or ReportID. |
string | Replace this with the model name or ID, or report ID, depending on the parameter you use. |
& | The ampersand indicates to ActiveReports Server that the parameter is complete and the action to perform follows. |
ReportAction | This is the designer property that indicates to ActiveReports Server that an enumerated action value is to follow. |
enum | Replace this with the enumerated action value that you want the designer to perform. Select from Create, Design, or Preview. |
To create a new report from a model that you specify without opening the Models page, replace the italicized portions of the following URL with your server name and model.
URL request syntax for creating a new report. |
Copy Code
|
---|---|
http://MyServer/?ModelName="MyModel"&ReportAction=Create |
For the ModelName parameter, you can use the model name, the model ID, or the GUID. If you use the model name, and there is more than one model with the same name, ActiveReports Server uses the first model of that name that it encounters.
To edit an existing report in the designer without opening the report list, replace the italicized portions of the following URL with your server name and report ID.
URL request syntax for editing a report. |
Copy Code
|
---|---|
http://MyServer/?ReportId="1"&ReportAction=Design |
To preview an existing report without opening the report list, replace the italicized portions of the following URL with your server name and report ID.
URL request syntax for previewing a report. |
Copy Code
|
---|---|
http://MyServer/?ReportID="1"&ReportAction=Preview |