Quantcast
Channel: Active questions tagged fields - Salesforce Stack Exchange
Viewing all articles
Browse latest Browse all 57

Contact Email field not queryable in SOQL

$
0
0

I'm querying contact email field in apex class and saving the return record inside a list. but when I debug the list queried then it does not show the email field.Below is the SOQL which I'm using with the debug log :-

listOfContact = [Select Name,recordtype.name, Account.Name,email from Contact where accountid = :Accountobj.id and recordtype.name='abc'];

Here is the debug log which I see :-

listOfContactAssociatedWithAccount(Contact:{Name=ee, Id=0030214569874563210, RecordTypeId=012541258963547812}, Contact:{Name=Apple- 13, Id=0030214569874563854, RecordTypeId=012541258963544571})

Why does it happen and what is solution for this.


Viewing all articles
Browse latest Browse all 57

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>