The Alternative Broadcasting Online News Station

URL Parameters Used in Reporting Services

July 30th, 2007

This article shows you some of the most common reporting parameters to use in Microsoft SQL Server Reporting Services.

When you go to the http://reportserver/reportserver/foldername/reportname

The last command in the url is &rs:Command=Render

You can add some other commands as follows:

&rc:Parameters=Collapsed

  • This collapses the parameter bar but sends the parameters in the URL in the browser
  • &rc:Parameters=true

  • This shows the parameter bar and is the default
  • &rc:Parameters=false

  • This prevents the parameters from being passed in the browser and expanded
  • &rc:toolbar=false

  • This hides the toolbar
  • &rc:format=PDF

  • This will open up the report as a PDF
  • &rs:Format=EXCEL&rc:OmitFormulas=true

  • This will open the report in Excel
  • rs:ClearSession=true

  • This clears the session state for the user. Used where the caching of the report prevents the designer from seeing their updated report and/or data.
  • * This is a very important parameter to know as more often than not, the report data doesn’t update immediately unless parameters are changed, and your report may show cached data if this is not set.

    &rc:StyleSheet=MyCustomStyle

  • Note don’t add the .css extension. And this style sheet must be in the folder Program FilesMicrosoft SQL ServerMSSQLReporting ServicesReportServerStyles folder.
  • Use the HTMLViewer.css as your base template.
  • ReportServer Parameters:
    If you add ?/FolderName/ReportName after the http://servername/reportserver you can run the report.
    The same applies if you want to list the reports, then just type ?/FolderName after the http://servername/reportserver.
    This is commonly used when the user only has permissions at the folder level, not the root level.
    Attachments:

    Disclaimer: This information is provided as is. It is intended as a guide only and should not be relied on in production unless extensive testing has been done.

    Tom Bizannes (B.Business, MCP)
    Microsoft Certified Professional
    http://www.smartbiz.com.au
    Specialising in:
    Microsoft SQL Server Reporting Services
    Microsoft SQL Server Programming
    Microsoft Access Databases
    ASP.Net applications

    Go and tell others: These icons link to social bookmarking sites where readers can share and discover new web pages.
    • OnlyWire
    • Socialize-It
    • Digg
    • del.icio.us
    • Furl
    • StumbleUpon
    • Netscape
    • YahooMyWeb
    • Reddit
    • Slashdot
    • Ma.gnolia
    • RawSugar

    No Comments

    No comments yet.

    Sorry, the comment form is closed at this time.