You need to sign in to do that
Don't have an account?

Can Community public users be allowed to upload files?
Hi,
I've got a lightning component that is being used in a Community.
This is meant to be a public facing community/component, where anonymous users essentially fill out a form.
Part of the flow includes uploading files.
Currently the files are being uploaded using <lightning:fileUpload/> and are being associated with an Account object.
When used by a person who already has a logged in session (such as through the builder) it works fine. However a guest user isn't able to upload files.
Is there any way to set the auto generated guest user or guest profile to be able to upload files?
I've tried doing some research on this already, and it seems like its more pointing towards no, but I was hoping if anyone else could provide insight.
Thanks,
Scott
https://developer.salesforce.com/docs/component-library/bundle/lightning:fileUpload/example
I think it's not possible for guest users to upload a file to the portal. Check the file upload limit.
https://help.salesforce.com/articleView?id=vpm_designer_elements_screen_fileupload.htm&type=5
--
Thanks,
Prashant
You can use the setting 'Allow site guest Users to upload files'.
Home --> General Settings --> 'Allow site guest Users to upload files'