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
Nuno MateusNuno Mateus 

Can't retreive custom field (No such column 'NumOrdem__c' on entity 'Contact'.)

Hi,
I'm struggle to access a custom field throught the PHP SDK.
The field exist:
User-added image
I can access the basic fields, but when i try to add the custom field to the query, always return the same error.

$query = "SELECT Id, FirstName, LastName, Phone, NumOrdem__c FROM Contact";
Error: "No such column 'NumOrdem__c' on entity 'Contact'. "

I've generate already the WSDL several times, but without success.

Can someone help and point me to the right direction?
I really appreciate.

Regards,Nuno

a sangeetha 5a sangeetha 5
Hi Nuno,

Please check the Field level security of that field. If its not enable for your profile, try enabling and then query the field.

Thanks,
Sangeetha A
Englert KimbroEnglert Kimbro
You're absolutely right. Don't know what ugly serializer Atlassian uses, but this mixture of named fields and custom fields makes it really bad to deserialize https://www.dgcustomerfirst.net/
Andrew Piana 1Andrew Piana 1

@Englert Kimbro
You're absolutely right. Don't know what ugly serializer Atlassian uses, but this mixture of named fields and custom fields makes it really bad to deserialize https://www.dgcustomerfirstx.info/

agree
amelia pearlamelia pearl
Ensure the field level security and its a matter of fact that mixture of named fields and custom fields makes it really bad to deserialize
DGCustomerFirst (https://www.dgcustomerfirst.biz/)