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
pelkins@parallepelkins@paralle 

obtaining data via API

Hi,
 
Using a dev account, I set up a new field called 'test'.  The new field has been added to Contacts too in the web UI.  I am able to see the value when view the contact.  However, when I try to pull data from the Contacts table like so...

qr = binding.query("Select Id, FirstName, LastName, AccountId, test__c from Contact ");

The query runs fine and the first row casts correctly to a Contact object.  However, I can see no way to view the data or any other info related to the new field named 'test'.  Is there something hanging off the Contact object that I can use?  or, a way to  navigate the QueryResult (qr) object and get this data?

Thx,

Paul

 
SuperfellSuperfell
If you're using the enterprise API (and it sounds like you are), you need to download and re-import the WSDL to pick up the new field definition.