jamescarlyle
Posts: 0
Joined: Tue Mar 12, 2013 11:20 pm

Doing something stupid - need a sanity check

Hi

I'm trying to create the simplest possible app - I'd appreciate if someone from Tiggzi could take a quick look. Project ID is 937f552a-b3e3-44ed-9890-31bffd27a228

The problem is that the response json array is not being bound to the grid and text boxes - I've triple-checked this in the data mapping (having populated the response structure by testing my GET request). I've linked the data service to a button and can see a brief cursor so I sense that the request is being made.

I've quadruple-checked this against the Twitter sample and can't see what is fundamentally different, so I'm giving up for tonight (it's late) but will try and pick up tomorrow.

Thanks
James
p.s. Max Katz is great - heard him at JavaOne

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

Doing something stupid - need a sanity check

What kind of service are you invoking? Try with Tiggzi Proxy on (in service's Settings tab).

jamescarlyle
Posts: 0
Joined: Tue Mar 12, 2013 11:20 pm

Doing something stupid - need a sanity check

Max

Tiggzi Proxy checkbox was disabled under a return type of jsonp but when I changed this to json I could enable the Tiggzi Proxy. The app then started to behave normally i.e. the grid was populated.

The service runs on a micro instance at Amazon. Is there any reason why the Tiggzi Proxy is needed - when I ran through the Twitter demo, I'm pretty sure that this was not needed.

Many thanks
James

jamescarlyle
Posts: 0
Joined: Tue Mar 12, 2013 11:20 pm

Doing something stupid - need a sanity check

Sorry - just getting up to speed - looks like I need to implement CORS on my node.js server

James

jamescarlyle
Posts: 0
Joined: Tue Mar 12, 2013 11:20 pm

Doing something stupid - need a sanity check

That fixed it, thanks

Kateryna Grynko
Posts: 0
Joined: Thu Nov 15, 2012 9:13 am

Doing something stupid - need a sanity check

Hi,
Glad it's working.

Just to add. Tiggzi Proxy and JSONP are used for avoiding forbidden cross-domain requests om browser. If requests are forbidden by domain you can't execute AJAX requests to another domain without Tiggzi Proxy.

http://docs.tiggzi.com/documentation/...

Return to “Issues”