function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Michael SyproMichael Sypro 

Upload File button not showing on mobile app

I created a custom object called Expense.  I'm trying to allow users to upload a photo from their mobile device to the Files object attached to it.  However, on the mobile app I can't get the button to display.  It shows correctly on the web.User-added image
User-added image
Here's the page layout:
User-added image
Shouldn't adding the File action add the button to the mobile app?  What am I missing?

Thanks!
Khan AnasKhan Anas (Salesforce Developers) 
Hi Michael,

Greetings to you!

It might possible that global action page layout on that object has missing File action. Make sure you have File action under Mobile and Lightning Actions in Publisher layout.

I hope it helps you.

Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.

Thanks and Regards,
Khan Anas
Michael SyproMichael Sypro
Thanks for the response!  The publisher layout for the object is in the original post, but the global action is below.  Is it possible there's something to do with the Files object specifically? 
User-added image

When I try to make my own Action under the Expense object I get this screen:
User-added image
File is not listed as a possible target object, just note.  Is there a reason for this?

Thanks
Taylor HarperTaylor Harper
Make sure Chatter Feed Tracking is enabled for the object, or else the File button won't show.
Beth EvansBeth Evans

I had the same issue. I was able to upload from desktop, the File button was in Mobile and Lightning Experience Actions, but the File button was not showing in mobile. I was also able to upload files on other objects. Taylor Harper's solution is correct.

In Setup go to Feed Tracking > Your Object > Check Enable Feed Tracking and Save. 

The file upload button will now appear when you're on the record. 

Problem solved!

Sebastien BruckertSebastien Bruckert
Hi.

I have the same issue and feed tracking is already activated as well as the action published on the case layout. Do you have any idea ?
Beth EvansBeth Evans

Hi Sebastien,

 

Are you able to upload from desktop but not mobile? Following the steps I lined out above resolved this issue for me. If you're not able to see in desktop, maybe the issue is something different.

Airon Dias 4Airon Dias 4

Hi Taylor Harper,

Hi Beth Evans,

It solved my problem.

Thank you for this.