Specify Device Information Settings in a URL
Applies To: SQL Server 2016
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 Passing Device Information Settings to Rendering Extensions.
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):
http://servername/reportserver?/SampleReports /Employee Sales Summary&EmployeeID=38&rs: Command=Render&rs:Format=IMAGE&rc:OutputFormat=JPEG