Retrieving image from salesforce for iOS

2019-06-14 07:17发布

问题:

I m working on iOS integration with SalesForce. I stuck in following points. I m using @"SELECT Contact.FirstName FROM Contact" query for getting all member list. Now i want retrieve profile image and company logo for above FirstName person. How can I get these info. One more thing I m using ZKSForce framework.

Thanks.

回答1:

@Swap

There is no images as standard fields for the Contact object so I don't know what you thought you were trying to retrieve.

Using the user record you can retrieve the chatter photo of a particular person, but I am not aware of such a feature on contact unless you have added it as a custom field. If you provide some more information I might be able to help further.

Paul



回答2:

@ Swap, they have not implemented any function for retrieving image for any user or company logo. You can see this link for more information.
They are simply returning this information in loginResult.