ActiveReports 9 Server User Guide > Concepts > URL Access to Reports and Designer |
You can use a uniform resource locator (URL) request to preview or edit reports, or even design new ones from a specified model.
Important: The logged-in user must have permission to perform the specified action on the report. |
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 9 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 9 Server that the parameter is complete and the action to perform follows. |
ReportAction | This is the designer property that indicates to ActiveReports 9 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 9 Server uses the first model of that name that it encounters.
Tip: To create a quick link to a new report, from the Administrator Dashboard, open the Models list. To the right of the model you want to edit, right-click the Create report link and select Copy link address. |
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 |
Tip: To create a quick link to a report, from the Administrator Dashboard, open the Reports list. To the right of the report you want to edit, right-click the Design link and select Copy link address. |
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 |
Tip: To create a quick link to a report, from the Administrator Dashboard, open the Reports list. To the right of the report you want to preview, right-click the Preview link and select Copy link address. |