3

Is there any way I can query the image from SalesForce server as a blob object ? We already have forcetk client queries which is retrieving all the data, but the image alone is returned as a link (salesforce link).

Can we retrieve image as blob in the same REST query call ?

The methods I saw required to make an extra call to fetch images, but here I have images in each row of the result, it would have been better if images come as a part of result object itself.

4
  • 1
    Insufficient information. Which objects are you querying from? What do your queries look like? We probably have an answer for you, but the devil is in the details.
    – sfdcfox
    Commented Oct 10, 2013 at 13:39
  • I am facing the same issue. Did any one resolved this issue?
    – User123
    Commented Feb 12, 2015 at 14:11
  • I am facing the same issue. Did any one resolved this issue?
    – User123
    Commented Feb 12, 2015 at 14:11
  • This does not really answer the question. If you have a different question, you can ask it by clicking Ask Question. You can also add a bounty to draw more attention to this question once you have enough reputation. Commented Feb 12, 2015 at 14:40

1 Answer 1

4

If you're using the REST API, then the blob data can't be returned with the rest of the object, it has to be a separate request. If you use SOAP then it can inline the blob data with the rest of the fields for the object, but it will be limited to returning one row at a time.

2
  • I am trying the rest api but not able to fetch this blob with plain image call
    – sij
    Commented Oct 11, 2013 at 4:49
  • update your question, i have no idea what you mean by a plain image call.
    – superfell
    Commented Oct 11, 2013 at 5:01

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .