We have been using an app called Picture Uploader to attach profile photos to Contact Records. The app attaches the photo to the Contact record and Account record, creates and populates a field called Profile Photo URL with the URL of that photo attachment. We have another field called Picture ID that displays the unique identifier contained in the Profile Photo URL. Last, we have a formula field called Picture that displays the image. The formula is as follows: if ( LEN(btydev__Picture_Id__c) > 0, IMAGE("/servlet/servlet.FileDownload?file=" & btydev__Picture_Id__c, “”), “”) How do I get the photos to display in Skuid? I’ve gone through your instructions. I can’t find a way to link to the current attachments. We have thousands of them attached to our contacts records. Thanks!
Good morning, Krista. Thanks for asking this question. I just wanted to let you know that we’re working on this and will have an answer for you today or tomorrow. Some questions: have you tried dragging your Picture display field into a table or field editor? does it display the image that way? I’d also be curious to see what it the display field looks like in the template component. You can also try using your image URL field in a template component/field as follows:
- Drag the template component into the page builder, or into a field editor or table.
- In Template properties, click to Allow HTML.
- For the template body, enter
Please see Zach’s response on your other post here: http://community.skuid.com/skuid/topics/how-do-i-show-salesforce-user-profile-photo-on-force-com-si…
Here is a tutorial on how to do this: http://help.skuid.com/m/components/l/102565-use-the-file-component-to-attach-files-to-a-record.