Export (0) Print
Expand All

Using the Command Parameter

You can include the rs:Command parameter in a URL. The value of the parameter determines the type of request made to the report server by the client. The following table describes values that are supported by the Command parameter.

Command value

Description

GetComponentDefinition

Displays the XML definition associated with a published report item. You must have Read Contents permission on a published report item to use this value. Using this value equates to calling the Web service GetItemDefinition directly.

GetDataSourceContents

Displays the properties of a given shared data source. The properties are displayed as XML. Using this value equates to calling the Web service GetDataSourceContents directly.

GetResourceContents

Renders a resource and display it in an HTML page. Using this value equates to calling the Web service GetItemDefinition directly.

GetSharedDatasetDefinition

Displays the XML definition associated with a shared dataset. You must have Read Report Definition permission on a shared dataset to use this value. Using this value equates to calling the Web service GetItemDefinition directly.

ListChildren

Displays children of the item passed to the URL. Child items are displayed within a generic item-navigation page. Using this value equates to calling the ListChildren method.

Render

Renders the specified report. Using this value equates to calling the Render method.

NoteNote

A URL can contain only one Command parameter. If a URL includes multiple Command parameters, an error is returned. If the Command parameter is specified in a URL without an accompanying value, the Command parameter is ignored.

The following example generates a generic item-navigation page that you can use to view all the child items of your Samples folder.

http://<Server Name>/reportserver?/SampleReports&rs:Command=ListChildren

Other Resources

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft