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
Medhanie HabteMedhanie Habte 

Uploading Attachment files when creating a record

Greetings, I am trying to determine a way to be able to upload attachments when creating a record, as opposed to having to do so after the record has been created. The purpose here is that our organization is using a table grid to create records and we want to able to input an attachment prior to getting the record created. Is this possible? Hope it helps.
Andy BoettcherAndy Boettcher
If you have a List<Attachment> in your Apex controller with a number of Visualforce apex:inputFile elements you can specify the files and then process them when you do your main insert.