API/CodeSamples/Javascript/CRSDataSources.md
... ...
@@ -46,6 +46,4 @@ The GotDataSourcesList variable is a callback method that takes two arguments: t
46 46
* DataType
47 47
* CanSaveReport
48 48
49
-So if you want to use the returnObj, you could use the javascript standard ``returnObj["SelectionsList"][0].DbName`` statement.
50
-
51
-The id object is the name of the function (crsdadtasources).
... ...
\ No newline at end of file
0
+So if you want to use the returnObj, you could use the javascript standard ``returnObj["SelectionsList"]["Fields"][0].DbName`` statement. The id object is the name of the function (crsdadtasources).
... ...
\ No newline at end of file