Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the rules for using "Internal" parameters in SSRS

Tags:

There is an option to create "Internal" parameters in SSRS:

  1. In what context are they used?
  2. What are the general rules for using internal parameters?
like image 312
whytheq Avatar asked Mar 23 '12 18:03

whytheq


People also ask

What is the use of internal parameter in SSRS?

Internal Parameters in SSRS are parameters that are not configurable by the end-user at run-time. This varies from a Hidden Parameter, which the user is not prompted to provide, but can still be configured through the URL to the report server.

What is the difference between internal and hidden parameters in SSRS?

Hidden – parameter is not presented to end users when running the report, but the parameter can be passed into the report at run time and does show up when setting up subscriptions. Internal – similar to hidden except in addition to not being presented to users running the report, it cannot be passed in a run time.

How do I use parameters in SSRS reports?

To add SSRS Report Parameters, Right Click on the Parameters Folder present in the Report Data tab will open the Context Menu to select Add parameters.. option. Once you click on Add parameters.. option opens a new window called Report parameter Properties to configure the parameter properties in SSRS.

How do you pass one parameter value to another parameter in SSRS?

To set available values for the second parameter In the Report Data pane, in the Parameters folder, right-click the first parameter, and then click Parameter Properties. In Name, verify that the name of the parameter is correct. Click Available Values. Click Get values from a query.


1 Answers

Internal Parameters in SSRS are parameters that are not configurable by the end-user at run-time.

This varies from a Hidden Parameter, which the user is not prompted to provide, but can still be configured through the URL to the report server.

Please see "Creating Report Parameters" on MSDN for more information.

One possible usage of them is in conjunction with the Report Viewer control. An ASP.Net page can contain the report viewer control, and use internal parameters in the code-behind to provide values to the report that the end-user should not be able to control, such as a UserID.

This can prevent the user from providing a different user's ID in order to see data that they shouldn't be allowed to view.

However, if you use an internal parameter in a report but want it to remain functional outside of the report viewer control, you'll want to specify an appropriate default value. Otherwise the report will be unusable from the Report Manager or Report Server.

like image 64
Michael Fredrickson Avatar answered Sep 17 '22 16:09

Michael Fredrickson