This article explains how you can upload an attachment while creating a new record to any SObject using Visualforce. Salesforce.com desktop screenshot Salesforce1 mobile screenshots ------------------------------------------------------------------------------------------------------------ Visualforce Page <apex:page controller="SafetyObservationExtensionController" > <apex:messages /> <apex:form id="theForm"> <apex:pageBlock title="New Safety Observation Form"> <apex:pageBlockButtons location="bottom"> <apex:commandButton action="{!cancel}" value="Cancel"/> <apex:commandButton action="{!save}" value="Submit"/> </apex:pageBlockButtons> ...
Quick tips and tutorials on Salesforce to help you develop on the platform. Some things you need to do "because Salesforce". #bcsf