Page 1 of 1

Salesforce Attachments to List

Posted: Sat Jan 03, 2015 9:16 pm
by keith weaver

I am struggling to pull images from Salesforce and populate them in a list. I am able to get the name and populate that but not the image itself. Here is my mapping:

Image

And this is what I see: Image


Salesforce Attachments to List

Posted: Mon Jan 05, 2015 3:30 am
by Yurii Orishchuk

Hi Keith,

You need to pass url to image asset.

Please try described in screen shot: http://prntscr.com/5oncur/direct

Regards.


Salesforce Attachments to List

Posted: Mon Jan 05, 2015 6:14 am
by keith weaver

Yurii Thanks for your reply. I tried that but it doesn't seem to be working. See the screen shot. Image


Salesforce Attachments to List

Posted: Mon Jan 05, 2015 8:59 am
by She

Hi Keith,

Try to put a "Grid" inside the "List" like the screenshot below and try the map
I hope this screenshot will help you.

Image

Regards,


Salesforce Attachments to List

Posted: Tue Jan 06, 2015 3:55 am
by keith weaver

I appreciate you response but it still will not post. I have looked at the documentation from Salesforce here: http://www.salesforce.com/us/develope...

But I am just starting to learn REST and can not figure out what I am doing wrong. I have attached a screenshot of the request. Any help would be appreciated.

Image


Salesforce Attachments to List

Posted: Tue Jan 06, 2015 6:00 am
by Yurii Orishchuk

Hi Keith,

Please give us your app public link and describe steps to reproduce this problem.

If you have any sensitive data - you can mail it on a href="mailto:support@appery.io" rel="nofollow"support@appery.io/a. In this case - please add link to this topic.

Regards.


Salesforce Attachments to List

Posted: Mon Jan 12, 2015 12:33 am
by keith weaver

I have been able to resolve this issue. If I map the Salesforce attachment id to the component URL and then add the following JavaScript

return "https://c.na17.content.force.com/serv...=" + value;

Of course you would use your url which can be found by logging into salesforce and opening the attachment and copying and pasting everything upto and including the "file="


Salesforce Attachments to List

Posted: Mon Jan 12, 2015 10:40 pm
by Yurii Orishchuk

Hi Keith,

Thanks for this update.

Regards.