I have a VF page that I am using as an inline page on the Opportunity detail page layout. It retrieves and displays files (FeedItems with ConnectApi.ContentCapability) from Chatter feeds on records related to the Opportunity. After making the page available for mobile, it will display within the Salesforce1 mobile app. However, there are two URLs returned with the ContentCapability class that wraps the Chatter File, downloadUrl and renditionUrl, that apparently don't work within the mobile container. The following VF, where file is a reference to an instance of ConnectApi.ContentCapability renders fine on the desktop (and in /one/one.app, incidentally), but the image does not display in the mobile app, nor does the the download link work. The title attribute works just fine.

<div class="col-xs-6 col-sm-3 col-md-2">
    <a href="{!file.downloadUrl}" class="thumbnail">
        <img src="{!file.renditionUrl}" />
    <div class="captionContainer">

Is there a way to "convert" these URLs to something that SF1 would understand...or do I need to use the Chatter REST API or some other method to fetch these URLs when the page is running in the mobile context?

The downloadUrl looks like


and the renditionUrl looks like




  • does the answer provided here address your issue, salesforce.stackexchange.com/questions/51867/… – anmrk Nov 8 '14 at 7:17
  • Thanks, @anmrk, but no. I've got Chatter enabled and can see Salesforce Files in the regular Feed in SF1. My issue is how to make reference to the URLs returned by the Connect API in a VF page embedded in a page layout in SF1. – ArtieBrosius Nov 10 '14 at 4:04
  • Artie, I've let the Salesforce dev teams know about this issue and they're researching it. Hope to have some information for you soon. – bonehelmet Jan 14 '15 at 20:30
  • @bonehelmet, thanks very much! I look forward to hearing back from you. – ArtieBrosius Jan 15 '15 at 14:37
  • 1
    Hi Artie, a bug has been logged and you'll get more traction if you contact Support so they can add you to the number of customer reports associated with it. The reference is W-2487353. success.salesforce.com/issues_about – bonehelmet Mar 19 '15 at 18:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.