Reference to Datasouce with Dashcode

Discussion in 'Mac Programming' started by tajihiro, Sep 5, 2010.

  1. tajihiro macrumors newbie

    Sep 3, 2010
    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.

Share This Page