sometimes you may want to create a process where uploading a document is mandatory. You can create a single Visualforce page with all of the fields for the record plus the field required to upload a document. codeĀ below is an example //VISUALFORCE PAGE <apex:page controller=”docex”> <apex:outputLabel value=”Document Name”/> <apex:inputText...
Uploading a document in apex salesforce using custom controller
U