Page 2 of 2

No records being returned from Salesforce.

Posted: Tue Jan 21, 2014 10:49 pm
by Adi Argov

my stop working as well,
it's used to work and now it's not.
the same query will work sometime.
tested the debug and past the query in workbench, no problem.


No records being returned from Salesforce.

Posted: Tue Jan 21, 2014 11:05 pm
by maxkatz

When you say the query works sometime and sometimes doesn't work -- is that when you test it inside the app builder or when you run the app? What exact error message do you get?


No records being returned from Salesforce.

Posted: Wed Jan 22, 2014 12:46 am
by Carl Porch

Mine has yet to work; but I'm beginning to understand why. In looking at the tutorial for Data Mapping which was recorded back when Salesforce was only connected as a Generic Service (before it had it's import function built in to Appery-io), there was a lot of setup with OATH keys and so forth.

While the new built-in functionality removed the requirement to perform the export and import of the Salesforce WSDL, I think there must steps I'm missing with respect to how the Salesforce connection uses the javascript functions recently created.

That's a big part of my problem. I'm just coming aboard with this stuff, and the tutorial is set up for how things USED to be. I think I may have to back away and try to first connect to Salesforce as a Generic Service. At least that's where I seem to be headed.


No records being returned from Salesforce.

Posted: Wed Jan 22, 2014 2:17 am
by Carl Porch

I reduced everything down to a minimum and finally got it working -- by turning on the echo feature. Is this how Appery-IO solves the cross domain scripting block from the test environment?


No records being returned from Salesforce.

Posted: Wed Jan 22, 2014 4:23 am
by Carl Porch

Finally making some real progress. Disabled the echo and got it to work using the key from the REST API tab on the Appery home page -- so that interaction from the form would occur via the Appery.IO Proxy. Other things are also falling into place.


No records being returned from Salesforce.

Posted: Wed Jan 22, 2014 4:48 am
by maxkatz

Echo is like running a mock service. It will always return the same data (the echo data).