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
Dippan PatelDippan Patel 

Reference a relational field in Custom Object

Hi All, 

I want to reference a relational field in custom object. For example, Select ID, Contact__r.Name from x_Report__c gives unrecognized property exception in JAVA. 
Raj VakatiRaj Vakati
Can you share the code ? are you using partner wsdl or enterprise wsdl 
Raj VakatiRaj Vakati
You code looks good .. But only one think i feel is looks like you dnt have access for the Contact__c filed ... 

Go and check the Field level security for the Contact__c field for the user whihc is used in your java application ..