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
Niket ShahNiket Shah 

Fileupload for guest site user not working

Hi All
I am trying to achieve functionality of allowing fileupload for guest users using lightning component. I have created a custom object and gave permissions to guest user profile to it.
Created a ltg fileupload component and it works perfectly fine for logged in user. Salesforce documentation for reference-
https://developer.salesforce.com/docs/component-library/bundle/lightning:fileUpload/documentation
​​​​​​​
I have enabled to guest site file upload setting as well on org.
When i try in incognito mode, it still gives me ‘cant upload filename.ext’ error. 
What else could i be missing? I am using custom template in communities and i have enterprise edition license.

Thanks
Niket
Amol DixitAmol Dixit
Try to go to Salesforce Files -> Settings -> General Settings and check the checkbox for " Allow site guest users to upload files ". It should work.