+ Start a Discussion
r3rr3r 

upload file

issue is we have to create a field in opportunity that have to store documents after saving the document automatically stage should be closed/won what i have to do...............

prakash_sfdcprakash_sfdc
Where you will upload ? In Notes and Attachments ?

If yes, write a trigger on Attachment object to achieve this.
r3rr3r
Hi No we have to create a field in that field we have to place a document,if the field is true automatically stage should be close,my problem is there is no data type to store document help me
prakash_sfdcprakash_sfdc
Override your Edit Page and use <apex:inputFile> and then you can check the value.
ShahTheTrainerShahTheTrainer

1.  select the field type is Text Area Rich, to upload documents.

2. Workflow Rule [tricky logic in formula section] with Field Update action.

 

r3rr3r
hi, can u explain with example,plz.
prakash_sfdcprakash_sfdc
Rich text area will allow only images I think.. not all types of files.