PDA

View Full Version : Reference to Datasouce with Dashcode




tajihiro
Sep 5, 2010, 11:03 PM
I set datasource on url http://xxxx/data/data.json, then dashcode can read datasourse successfully.

I would like to read its json data from other Javascript file I wrote.
It could read datasource object like below, probably. it shows data on List layout.

var ds = dashcode.getDataSource('dataSource');

But I don't know how to get the data itself from Javascript file.
Does anyone can tell me how to get the data in json file?
I would like to refere data from Javascript code.

Please help me.