In this blog post, we will talk about how to develop a custom file Upload using Lightning Web Component.
We will create a Component that will upload the file under the file object instead of Attachment. The reason we are doing, Salesforce is deprecating the attachments.
We have designed the component which will sit inside the record page but if you want to use at different place then make the adjustment accordingly.
The main purpose of this component is to provide the ability to upload the Files even if you do not know the record Id and the record Id will be generated at run time.
Step 1 – Create the Apex Class
Step 2 – Create Lightning Web component
Get the code from the below file
Thanks for reading 🙂 #DeveloperGeeks #SalesforceDeveloper #SfdcPanther #AskPanther
Please do like share subscribe the SFDCPanther YouTube Channel.