• ios4life
  • NEWBIE
  • 0 Points
  • Member since 2011

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 2
    Replies

Hello everyone,

 

I am brand new to the Salesforce platform and am trying to use a SOQL call to get primary contact information such as first name, last name, address, email, phone, etc...

 

I have searched through the message boards and found this answer:

 

http://boards.developerforce.com/t5/General-Development/trouble-getting-primary-contact-info/m-p/126046#M29243

 

with this solution query:

 

Select a.Contact.FirstName, a.Contact.LastName, a.ContactId From AccountContactRole a WHERE a.IsPrimary =true and a.AccountId = 'priamry account id'

 

However, when I try this I get this result:

 

(

)

 

Does anyone know what could be causing this? Do I need to have anything set up on my account before I will be able to fetch my own contact info??

 

Thanks in advance,

~Arash

Hello everyone,

 

I am brand new to the Salesforce platform and am trying to use a SOQL call to get primary contact information such as first name, last name, address, email, phone, etc...

 

I have searched through the message boards and found this answer:

 

http://boards.developerforce.com/t5/General-Development/trouble-getting-primary-contact-info/m-p/126046#M29243

 

with this solution query:

 

Select a.Contact.FirstName, a.Contact.LastName, a.ContactId From AccountContactRole a WHERE a.IsPrimary =true and a.AccountId = 'priamry account id'

 

However, when I try this I get this result:

 

(

)

 

Does anyone know what could be causing this? Do I need to have anything set up on my account before I will be able to fetch my own contact info??

 

Thanks in advance,

~Arash