Will4455852
Posts: 0
Joined: Sun May 13, 2012 9:20 pm

Trouble with data mapping

Hello!
I am having some trouble getting the data mapping to display correctly. I have created a test app that calls my sample REST api which returns data via jsonp. The data returned is formatted:
{"COLUMNS":["IDTYPE_REF","TYPE_DESCRIPTION","DISPLAY_ORDER","REC_STATUS"],
"DATA":
[
[6,"Alcohol",null,"A"],[1,"Breakfast",null,"A"],[16,"Cash Withdraw",null,"A"],[3,"Dinner",null,"A"],[10,"Dogs",null,"A"],[11,"Dogs Daycare",null,"A"],[8,"Electronics \/ Games",null,"A"],[12,"Gas",null,"A"],[9,"General Entertainment",null,"A"],[15,"Gifts",null,"A"],[5,"Groceries",null,"A"],[2,"Lunch",null,"A"],[17,"Metro",null,"A"],[13,"Misc - Car",null,"A"],[7,"Misc - Clothes",null,"A"],[14,"Misc - House",null,"A"],[4,"Snacks",null,"A"]
]
}

And my mapping looks like: Image

I am not sure what I am doing wrong, but I am sure it is something simple. Any suggestions?

Thanks!
Will

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Trouble with data mapping

What exactly should be displayed and what's displayed now?

Will4455852
Posts: 0
Joined: Sun May 13, 2012 9:20 pm

Trouble with data mapping

Currently nothing is being displayed. I was just trying to get it to output the id and type. I am just testing somethings out to get comfortable with making a REST call.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

Trouble with data mapping

Unless the service you are using support JSONP or CORS, you need to use Tiggzi Proxy.

http://help.tiggzi.com/documentation/...

Return to “Issues”