API/CodeSamples/Javascript/CRSDataSources.md
... ...
@@ -11,6 +11,7 @@ Here is the AJAX call to use:
11 11
```javascript
12 12
AjaxRequest('./rs.aspx', 'wscmd=crsdatasources', GotDatasourcesList, null, 'crsdatasources');
13 13
```
14
+##GotDataSourcesList
14 15
15 16
The GotDataSourcesList variable is a callback method that takes two arguments: the returnObj and the id. The returnObj is a JSON formatted object that contains the data sources used on the report. Below is an example of the hierarchy of this object.
16 17