We have the following tree. Contact.BOG_Committee__c.BOG_Committee_w_Membership__c

On BOG_Committee_w_Membership__c , I want the contact name.

When I put BOG_Membership__r.Contact__r.Full_Name1__c in my SOQL query which is querying BOG_Committee_w_Membership__c I get "[object Object]" and not the actual contact name. Why?

FYI, Full_Name1__c is a formula field just concatenating first and last name.

  • 8
    I think you will find this question has already been asked and answered on SFSE: Child-to-Parent Query - [object Object] is the result
    – Adrian Larson
    Sep 12, 2016 at 15:28
  • It is and thank you. This may seem like a dumb question but when one enters a duplicate question there is usually a bunch of people who mark it a such? Isn't one person sufficient to do it or do you need a quorum of moderators to mark it that way?
    – Apex N-u-b
    Sep 13, 2016 at 7:18
  • One user can close as duplicate if they have the gold tag badge for any badge on the question. Otherwise it takes five.
    – Adrian Larson
    Sep 13, 2016 at 12:02
  • thanks. Also, is it better to mark as duplicate and leave it or delete the question completely?
    – Apex N-u-b
    Sep 13, 2016 at 12:05
  • No need to delete unless it's drawing major downvotes. It can be useful actually to see the duplicate questions also.
    – Adrian Larson
    Sep 13, 2016 at 12:09


Browse other questions tagged .