Skip to main content
Zachariah Rosenberg a posé une question dans #Salesforce Developer
Hello,

Im trying to write a SOQL query that will grab one of the Contact object's standard fields "Contact Owner", which is a Lookup(User) field.

The field name is "Owner", but when I try to query

SELECT Contact.Owner FROM Contact

I get an error stating that there is no such field.

How can I grab this field?

Thank you!
4 réponses
  1. 14 janv. 2015, 21:02
    Select c.Owner.Email, c.Owner.Name, c.Owner.Username, c.OwnerId From Contact c

    Run the above in Developer Console--Query Editor
0/9000