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
AbAb 

how to implement file upload

Hello,

How can i allow someone to upload resume in pdf or word format with maximum size and store it.
I wanted to have it included on page layout

 

thank you

Best Answer chosen by Ab
ManojjenaManojjena
HI Sandrine ,

You can upload an attachment of size 5mb ,I don't think you have resume more then 5mb size .

All Answers

ClintLeeClintLee
Hi Sandrine,

If you're using a visualforce page have a look at this blog post by Jeff Douglas.  There is sample code that demonstrates how to use an <apex:inputFile> to achieve this.

http://blog.jeffdouglas.com/2010/04/22/uploading-a-document-using-visualforce-and-a-custom-controller/

Hope that helps,

Clint
AbAb
I am not using a VF page, Its standard page.
 
ManojjenaManojjena
Hi Sandrine,

Where exactly you want to add/upload your resume in detail page ,If you you can add and inline VF page or you can add standard attcahment in your related list .
Please confirm .
AbAb
I will be able to add VF in my page.
VF can be part
ManojjenaManojjena
HI Sandrine ,

You can upload an attachment of size 5mb ,I don't think you have resume more then 5mb size .
This was selected as the best answer