The following general parameters can be included on the Web Viewer URL, some of which are required. Parameters are appended to the base URL of the Web Viewer with a question mark (?). Additional parameter definitions are separated with an ampersand (&).
For example:
http://Example-Server/DashboardViewer/Viewer.aspx?dashboard=296&ds=MyDatabase
Parameter |
Description |
---|---|
dashboard |
The dashboard parameter defines the dashboard to access, using its ID number. The dashboard ID number is displayed in the upper right corner of the properties window for the dashboard. Note:
This parameter is required. |
ds |
The ds parameter defines the data source of the dashboard. This is the ODBC name of the data source. If no value is entered, the data source configured in the dmsDataSource key of the web.config file for the Dashboard Viewer is used. |
dologin |
If the dologin parameter is present in the URL, the user is always forced to log in. This parameter has no value, it just needs to be present in the URL: ?dashboard=296&ds=MyDatabase&dologin=&sessionTrace=0 |
fp |
The fp parameter determines if a user is prompted for runtime parameter values when accessing the dashboard. If fp is not present in the URL or is set to 0, the user is only prompted for parameters if at least one parameter is required but has no default value and no value set in the URL. If fp is set to 1 and the dashboard has available runtime parameters, the user is always prompted to enter values. |
useTheme |
The useTheme parameter is used to override the default theme of the Dashboard Viewer as set in the web.config file for the Dashboard Viewer. Valid values are light or dark. |
sessionTrace |
The sessionTrace parameter is used to override the default trace level of the Dashboard Viewer as set in the web.config file for the Dashboard Viewer. Valid values are 0, 1, 2, 3, or 4. |