#ReportViewerConfig

##About

The reportviewrconfig command is passed through rs.aspx via an AjaxRequest. This returns JSON formatted data related to the Report Viewer page's configuration. It can be used to control whether the current report that is loading is read-only, view-only, or locked. It also returns several settings that are found in AdHocSettings related to the report viewer.

Here is the Ajax call to use:

AjaxRequest('./rs.aspx', 'wscmd=reportviewerconfig&wsarg0=' + $(window).width() + '&wsarg1=' + $(window).height(), GotReportViewerConfig, null, 'reportviewerconfig');

Here is a list of the object keys sent back and their default values

Key Value
ReportListUrl ReportList.aspx
ReportDesignerUrl ReportDesigner.aspx
ResponseServerUrl rs.aspx
ReportViewerUrl ReportViewer.aspx
DashboardsUrl Dashboards.aspx
InitialResults 100
ReportIsReadOnly false
ReportIsViewOnlyfalse  
ReportIsLocked false
AllowNewFiltersInReportViewer true
AllowRTFExportFormat false
DateFormat m/d/yy
CategoryCharacter |
UseBulkCsv false