keith weaver
Posts: 0
Joined: Wed Dec 31, 2014 10:34 pm

Salesforce Attachments to List

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

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Salesforce Attachments to List

Hi Keith,

You need to pass url to image asset.

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

Regards.

keith weaver
Posts: 0
Joined: Wed Dec 31, 2014 10:34 pm

Salesforce Attachments to List

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

She
Posts: 0
Joined: Wed Oct 08, 2014 12:46 am

Salesforce Attachments to List

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,

keith weaver
Posts: 0
Joined: Wed Dec 31, 2014 10:34 pm

Salesforce Attachments to List

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

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Salesforce Attachments to List

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.

keith weaver
Posts: 0
Joined: Wed Dec 31, 2014 10:34 pm

Salesforce Attachments to List

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="

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

Salesforce Attachments to List

Hi Keith,

Thanks for this update.

Regards.

Return to “Issues”