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
CooldayCoolday 

Can we upload files on a field?

We have to Create an attachment icon near the custom field.
Let me know if it is possible using salesforce standard functionality.
Best Answer chosen by Coolday
Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

Yes you can using Rich Text area but you can only upload images but not documents. I guess there is no other option as field.

Thanks,
 

All Answers

Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

You may not be able to add a field to upload the file in standard way. But you can have a screen flow to upload the file and add the screenflow as button in salesforce.

If you are okay with that implementation I can share the flow. 

The file uploaded will get stores in Files and attachments related list.

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,
CooldayCoolday

Hi Sai,
I was thinking of using Rich text area field for file upload but turns out we can only upload images and links using RTA.

Is there any similar alternative apart from creating a flow?

Thanks

Sai PraveenSai Praveen (Salesforce Developers) 
Hi,

Yes you can using Rich Text area but you can only upload images but not documents. I guess there is no other option as field.

Thanks,
 
This was selected as the best answer