0

I am working on designing custom views using Visual-force. Here I want to create a field that ask user to choose a file from Computer. Like in below screenshot:enter image description here

But I didn't see any field type in Sales-force standard field types that can allow us to get file from Computer on click of button Browse

Is there any way to create this type of field in salesforce?

Do I have to use some custom fields or buttons to do this?

Any help will be appreciated.

4
  • You can use Text Area(rich). Commented Jun 1, 2016 at 11:53
  • Text Area does not cover/solve this issue. Commented Jun 2, 2016 at 5:47
  • You have to save that file as blob in text area(rich) Commented Jun 2, 2016 at 7:49
  • Is there any other solution for this? Commented Jun 7, 2016 at 10:44

1 Answer 1

2

There is not a specific field type that you can use for this. It is possible to attach a file to a record using Visualforce page with a custom Apex controller which will allow the user to browse the files on their drives.

This Question and answer explain how this can be done using Visualforce and Apex.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .