with Salesforce Lightning
Project Overview
This project was developed as a solution to a business requirement. It required a custom file upload functionality that could accecpt moderately large files without having to chunk them. With the existing solutions for file uploads, we require the recordId of the record for us to be able to attach a file to it. We only have access to this recordID after a record has been created. In this solution, we give the impression that we are creating the record and attaching the file at the same time by first creating the record in the backend and attaching the file to it, before returning control to the user. In addition to this, we embed the VisualForce page in a lightning component and comunicate between them using events to track file upload status and other parameters. Head on over to the link below to check out the entire Salesforce code including the VisualForce components and the Lighting components as well as the apex classes to perform record manipulation in the backend.