You need to sign in to do that
Don't have an account?
vanpelt
Duplicate Salesforce Id's returned from query in single record
For some odd reason when I query for a specific Contact it returns two sf:Id's, both are the same, within a single record:
select id, firstName, lastName, email, mailingCity, phone, fax from Contact where web_user_id__c = '2'
Returns:
Contact
0033000000G62kyAAB
0033000000G62kyAAB
Ass
Seeker
bob@test.com
1
select id, firstName, lastName, email, mailingCity, phone, fax from Contact where web_user_id__c = '2'
Returns:
Contact
0033000000G62kyAAB
0033000000G62kyAAB
Ass
Seeker
bob@test.com
1
DevAngel
Right, this is due to the partner wsdl. The sobject is defined with an id field, and when you request id in a query, the sobject.id field is set as well as a field on each record (element of the any field) for the id. Just pick one.