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
clouddev@surashriclouddev@surashri 

Document Upload from Communities Webpage

Hi,

We want to allow document upload using <apex:inputFile> tag from Communities website we have developed. We are using Customer Community User licenses.
On Customer Community User profile Document has Read access and other access are disabled. It seems Community user can only read already uploaded document. Is that correct ?

But from Chatter tab Community User can upload file.

How can we allow our users to upload document from out community website ? Can anyone suggest alternative?

Please reply,

Thanks,

Clouddev
Best Answer chosen by clouddev@surashri
Vinita_SFDCVinita_SFDC
Hello,

You can use an apex email service in salesforce wherein your community site will send an email with attachments in a specific format to apex email and there would be a custom code to process the email and read attachments.

For complete code example please follow the below mentioned URL:

http://developer.force.com/cookbook/recipe/email-recipesa-complete-code-example
File1