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
KD_78KD_78 

Query Custom Objects from Enterprise Connection?

I've created a user with a Customer Portal Manager license.  I'm using that person's credentials to log into Salesforce using the EnterpriseConnection.  

 

I can use connection.query(soql) to query standard objects.

 

But if I try to query a custom object, I get an INVALID_TYPE error.

 

Is there anything special that needs to be done?