Custom File Upload using LWC in Simple steps.

Опубликовано: 30 Март 2026
на канале: salesforce troop
39,204
302

In this tutorial, you will learn how to upload files using a custom approach using LWC. I am covering the following steps
1. How to fetch the file details
2. How to fetch the record id
3. How to avoid specific file type
4. How to send a data stream to Apex
5. How to handle success message using toast

LINKS USED IN THIS VIDEO
======================
APEX class
https://gist.githubusercontent.com/ka...

lightning DESIGN SYSTEM FOR STYLING
https://www.lightningdesignsystem.com...

CONTENT DOCUMENT LINK
https://developer.salesforce.com/docs...!

FOR COOL STUFF OF LIGHTNING WEB COMPONENT
http://salesforcelightningweb.com/

FOLLOW ME -
FACEBOOK -   / salesforcetroop  
LINKEDIN -   / salesforce-troop  
TWITTER - @karkra_nikhil

This is especially for all the students and IT professional who wants to make their career in Salesforce.

PLEASE DO LIKE, SHARE AND SUBSCRIBE THIS VIDEO WITH ALL YOUR STUDENT NETWORK, IT NETWORK AND SALESFORCE NETWORK.

Let everyone learn Salesforce and become a part of our #Ohana.