Specify Device Information Settings in a URL
Topic Status: Some information in this topic is preview and subject to change in future releases. Preview information describes new features or changes to existing features in Microsoft SQL Server 2016 Community Technology Preview 2 (CTP2).
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