API/CodeSamples/Javascript/CRSDataSources.md
... ...
@@ -4,7 +4,9 @@
4 4
5 5
##About
6 6
7
+The ``CrsDataSources`` command sends an [[AjaxRequest|/API/CodeSamples/Javascript/AjaxRequest]] that is used to obtain the CurrentReportSet information. This returns the data structure of the current report set and can be used to make logical choices about how to handle various features on the report viewer.
7 8
9
+Here is the AJAX call to use:
8 10
9 11
```javascript
10 12
AjaxRequest('./rs.aspx', 'wscmd=crsdatasources', GotDatasourcesList, null, 'crsdatasources');