lazinskip
5 May 2010, 6:44 AM
Hi my new in Json and ExtDesigner
Could somebody be so nice and provide me example of json file with data proper to DataStore ?
I have created DataStore in ExtDesigner with fields:
id, name, surname, regDate
url property looks like this: /data/persons.json
in project properties url preffix is: http://localhost:8081/
I have tomcat instance running on port 8081 with data catalog with persons.json file inside
I do not know how this file should look like, what is relation with root property (in my case "data")
My Json file: [{"id":1,"name":"Paul","surname":"Noname","regDate":"24-04-2007"},{"id":1,"name":"Andrew","surname":"Learner","regDate":"24-04-2007"}]
When I try to load data I get error message:
Unable to load data using supplied configuration.
Open in browser: http://localhost:8081/data/persons.json
Could somebody be so nice and provide me example of json file with data proper to DataStore ?
I have created DataStore in ExtDesigner with fields:
id, name, surname, regDate
url property looks like this: /data/persons.json
in project properties url preffix is: http://localhost:8081/
I have tomcat instance running on port 8081 with data catalog with persons.json file inside
I do not know how this file should look like, what is relation with root property (in my case "data")
My Json file: [{"id":1,"name":"Paul","surname":"Noname","regDate":"24-04-2007"},{"id":1,"name":"Andrew","surname":"Learner","regDate":"24-04-2007"}]
When I try to load data I get error message:
Unable to load data using supplied configuration.
Open in browser: http://localhost:8081/data/persons.json