Specifying Device Information Settings in a URL

Device information settings are parameters that are passed to a rendering extension. If you use the methods of the SQL Server Report Server Web service to render a report, a DeviceInfo XML element is passed as an input parameter. Child elements of the DeviceInfo element are specific to the device information settings of different rendering extensions. You can include device information settings in a URL by using the rc:tag=value parameter string, where tag is the name of the device information settings element being accessed. For more information about device information settings in SQL Server Reporting Services, see Reporting Services Device Information Settings.

Example

The following example sets the format of the specified report to JPEG by using the OutputFormat device information setting of the image rendering extension (the line breaks have been added for legibility):

https://servername/reportserver?/SampleReports
/Employee SalesSummary&EmployeeID=38&rs:
Command=Render&rs:Format=IMAGE&rc:OutputFormat=JPEG

See Also

Other Resources