You need to sign in to do that
Don't have an account?
Mike445
Query for contact email from case
HI,
I am trying to write an soql query on Case object. I am looking for contact email. How do i query for it?
I tried the below query and it gave an error.
Select Contact.id.Email from Case where Id=: c.id;
Any help is appreciated.
*c.id is case Id.
Thanks,
Mike
The SOQL is pretty straight forward. You dont need the id part of contact.id.email. Just use this simple query.
Actually using it to do what you're asking could look like this:
Feel free to clarify if I've misunderstood your question.
All Answers
The SOQL is pretty straight forward. You dont need the id part of contact.id.email. Just use this simple query.
Actually using it to do what you're asking could look like this:
Feel free to clarify if I've misunderstood your question.
Thanks for the reply and you got me exactly right.