function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NickdJNickdJ 

Sforce API Query fails to return data

Hi,

I'm having a problem getting the sforce API to return some columns of data through the API.  My scenario is this:-

(a) I have a custom object called Foo Bar, hence the table name is Foo_Bar__c
(b) I have custom fields within that object, named apple, orange, banana, hence columns named apple__c orange__c and banana__c
(c) I have downloaded the freshly generated enterprise.wsdl that includes references to apple__c orange__c and banana__c etc...

Through the API I am able to retrieve some columns but not others without any appreciable logic as to why.  I've checked permissions, types, etc etc etc and I simply can't see what else I should be looking for.

Any ideas?

I'm using the sforce-phptoolkit

N



Message Edited by NickdJ on 07-24-2008 11:52 AM
ArtabusArtabus
I woulld suggest using the partner wsdl instead of the enterprise, with the php toolkit.
 


Message Edited by Artabus on 07-24-2008 10:20 PM
NickdJNickdJ
Thanks for this -- the SforcePartnerClient.php appears to behave much better in this regard.

N